How to insert code snippets on the command line without executing them
You can store a code snippet in a shell alias or a function, but when you type the alias or function name in a BASH shell and press 'Enter', the shell executes (or tries to execute) the snippet. That's no good if the snippet is incomplete or needs editing. A simple workaround is to paste the snippet at the next shell prompt, as explained (in this article).
|
|
Full Story |
This topic does not have any threads posted yet!
You cannot post until you login.