Home Man
Search
Today's Posts
Register

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

Curious about the -9

Tags
beginners, kill command, unix admin

 

 
Thread Tools Search this Thread
# 1  
Old 11-17-2010
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?
# 2  
Old 11-17-2010
# 3  
Old 11-17-2010
Quote:
Originally Posted by pflickner
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 11-17-2010
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.
 

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Two curious questions jamie_123 Shell Programming and Scripting 7 10-03-2012 12:35 PM
Curious GQiang Shell Programming and Scripting 2 07-28-2011 01:51 AM
curious kurosaki Shell Programming and Scripting 6 09-29-2008 09:54 AM
Curious 'ls' Issue vibhor_agarwali UNIX for Advanced & Expert Users 7 07-10-2008 03:19 AM
Curious? River Freight Linux 1 10-07-2007 03:40 PM
Curious Dummy highway39 UNIX for Dummies Questions & Answers 1 08-31-2006 07:22 PM
Curious skotapal UNIX for Dummies Questions & Answers 2 02-28-2003 03:33 PM
Just curious, does Unix stand for anything? pudad UNIX for Dummies Questions & Answers 6 10-18-2002 01:06 AM


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

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password