commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
in command mode, navigate your cursor to the line where you want the command output to appear, and hit "!!". No need to enter edit mode or even type a ":" (colon).
There are 10 alternatives - vote for the best!
':r!ls -l' results in listing the files in the current directory and paste it into vi
If you can do better, submit your command here.
You must be signed in to comment.