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:
By defining a function "hg" as shown here, it saves me typing "history | grep" every time I need to search my shell history because now I only have to type "hg".
A nifty time saver :-)
You can also add the "hg" function definition to your .bashrc so it is defined each time you login.
If you can do better, submit your command here.
You must be signed in to comment.