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:
Command binds a set of commands to the F12 key.
Feel free to alter the dashboard according to your own needs.
How to find the key codes?
Then press the desired key (example: F5)
bind '"\e[15~"':"\"ssh su@ip-address\C-m"""
bind '"\e[16~"':"\"apachectl -k restart\C-m"""
There are 5 alternatives - vote for the best!
If you can do better, submit your command here.
You must be signed in to comment.