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

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.

Share this page:

2 Comment(s)