Unix/Linux Go Back    


UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

Curious about the -9

UNIX for Dummies Questions & Answers


Tags
kill command, unix admin

 
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 11-17-2010   -   Original Discussion by pflickner
pflickner's Unix or Linux Image
pflickner pflickner is offline
Registered User
 
Join Date: Nov 2010
Last Activity: 17 November 2010, 12:48 AM EST
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Curious about the -9

I was talking to a coworker and we got into a discussion about the -9. No one knew where the -9 came from and it's not in the man. I suggested that it was like counting to 10 (0-9) and you finally get to the point that that's it, the durned thing is going to die. So how did the -9 come to mean "NOW!" without reservation? It looks like it has the same impact as -KILL or -s KILL. But how did the -9 become that?
Sponsored Links
    #2  
Old Unix and Linux 11-17-2010   -   Original Discussion by pflickner
Ygor's Unix or Linux Image
Ygor Ygor is offline Forum Advisor  
Advisor
 
Join Date: Oct 2003
Last Activity: 15 May 2015, 11:55 AM EDT
Location: 54.23, -4.53
Posts: 1,801
Thanks: 1
Thanked 115 Times in 100 Posts
Man Page for signal (Linux Section 7) - The UNIX and Linux Forums
Sponsored Links
    #3  
Old Unix and Linux 11-17-2010   -   Original Discussion by pflickner
Corona688's Unix or Linux Image
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 18 January 2018, 3:03 PM EST
Location: Saskatchewan
Posts: 22,574
Thanks: 1,163
Thanked 4,293 Times in 3,961 Posts
Quote:
Originally Posted by pflickner View Post
I was talking to a coworker and we got into a discussion about the -9. No one knew where the -9 came from and it's not in the man.
It's a coincidence. The numbers have no particular voodoo meaning, different signals were assigned numbers purely arbitrarily as they were invented. Not all the same numbers everywhere either; -9 is a very old signal (and probably defined as KILL in some standard or other now) but many others aren't so strictly defined, and may vary between different UNIX implementations. Some don't have USR1 for instance.

On my system at least you can see a fairly comprehensive list of signals in 'man kill'.
    #4  
Old Unix and Linux 11-17-2010   -   Original Discussion by pflickner
pflickner's Unix or Linux Image
pflickner pflickner is offline
Registered User
 
Join Date: Nov 2010
Last Activity: 17 November 2010, 12:48 AM EST
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Nice

Thanks for the info. Your man page is seriously more detailed than ours.

I didn't think it was voodoo. We just began making up things for why they used the 9. Got silly. I was hoping for a good story. Ah, well. The guys'll be disappointed.
Sponsored Links
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
curious kurosaki Shell Programming and Scripting 6 09-29-2008 10:54 AM
Curious 'ls' Issue vibhor_agarwali UNIX for Advanced & Expert Users 7 07-10-2008 04:19 AM
Curious? River Freight Linux 1 10-07-2007 04:40 PM
Curious Dummy highway39 UNIX for Dummies Questions & Answers 1 08-31-2006 08:22 PM
Curious skotapal UNIX for Dummies Questions & Answers 2 02-28-2003 04:33 PM



All times are GMT -4. The time now is 05:05 PM.