←back to thread

217 points tanelpoder | 1 comments | | HN request time: 0.212s | source
Show context
jandrese ◴[] No.26492618[source]
This seems to be more of "don't paste garbage into a terminal, especially as root." With a sidenote that it might be safer if your custom application command interpreter didn't use > as the prompt character. I note that Bourne shell defaults to the safer % and # characters for the prompt. The # character for root is especially safe.
replies(6): >>26492739 #>>26492951 #>>26494723 #>>26499063 #>>26499191 #>>26501459 #
1. yawaramin ◴[] No.26499063[source]
AFAIK Bourne shell (and Bash) defaults to $ for regular users. C shell (and tcsh) use %.