4 ms·
Note that if your process is the root of the process tree controlling a terminal, init will prepend a '-' to argv[0] (e.g. instead of being "bash" it will be "-
by gumby 7y ago
Note that if your process is the root of the process tree controlling a terminal, init will prepend a '-' to argv[0] (e.g. instead of being "bash" it will be "-bash".
I used this to disable c-X c-c (the exit command) when running gnu emacs as my login shell in the mid 1980s.