Timeline for store command before pressing ctrl+c, revive afterwards
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 13, 2017 at 12:36 | history | edited | CommunityBot |
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
|
|
| Mar 20, 2013 at 17:51 | comment | added | Drake Clarris | I have always used echo as the command for this. This can cause issues if your weird characters interpreted by the shell, like * or !, so I often times go with the single quotes around it all as well. | |
| Mar 20, 2013 at 15:46 | comment | added | Michael Pankov |
It's not in zsh in interactive mode (by default): ➜ #ls zsh: command not found: #ls
|
|
| Mar 20, 2013 at 15:38 | comment | added | jw013 |
I think # is a comment character in every shell that I have seen, even weird ones like csh. It's even in the POSIX spec (see item 10.). I'd love to know if you've seen shells where # is not a comment.
|
|
| Mar 20, 2013 at 15:29 | history | edited | user | CC BY-SA 3.0 |
added 4 characters in body
|
| Mar 20, 2013 at 15:26 | comment | added | user | @jw013 That's a good approach too to reduce typing, but I was shooting for an option that was shell-agnostic. | |
| Mar 20, 2013 at 15:18 | comment | added | jw013 |
Instead of a command I just use a #, which works as long as you have not told your shell to ignore comment lines.
|
|
| Mar 20, 2013 at 13:44 | history | answered | user | CC BY-SA 3.0 |