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:
Using the "#" in shell is surprisingly useful.
Some of the uses I found:
a) As a visible copy buffer in shell history (caveat: do not use for passwords :-)
b) To build complex commands until ready then hit the HOME, DEL, ENTER keys to run it
c) Placing reference data into shell history (search for tags with CTRL-R TAGNAME)
d) Putting aside a "work in progress" command to focus on another task (HOME # ENTER)
There are 13 alternatives - vote for the best!
If you can do better, submit your command here.
You must be signed in to comment.