[TUHS] Cryptic Unix Commands

Chet Ramey chet.ramey at case.edu
Thu Sep 6 01:42:09 AEST 2018

On 9/5/18 11:04 AM, Norman Wilson wrote:

> As an aside, why do modern kill and sh accept only the
> abbreviated form of the signal name, not the full name;
> e.g. kill -STOP is OK, kill -SIGSTOP an error?  

It's the standard:


"Historical versions of kill have not written the SIG prefix for the -l
option and have not recognized the SIG prefix on signal_names."


"Implementations may also accept the names with the SIG prefix; no known
historical shell does so."

``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet at case.edu    http://tiswww.cwru.edu/~chet/

More information about the TUHS mailing list