HowtoForge - Linux Howtos in English English|HowtoForge.de - Linux-Howtos auf Deutsch Deutsch

How to save a command in the shell history without executing it

Submitted by till (Contact Author) (Forums) on Mon, 2006-08-07 17:42. :: Shell

Enter the command line and hit the keys:

[CTRL] + [#]

This will put a # in front of the command and execute it. The shell will take it as comment.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Please do not use the comment function to ask for help! If you need help, please use our forum: http://www.howtoforge.com/forums
Comments will be published after administrator approval.
Submitted by Anonymous (Contact Author) (Forums) on Mon, 2006-08-14 09:17.
if you live in Paderborn (Germany) it`s [ALT] + [#]