The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how do you login as sms-svc on a system controller vinix SUN Solaris 1 02-04-2008 03:41 AM
Prompted for System Password during login BFLO HP-UX 2 12-06-2007 10:45 AM
Disablin login for system accounts veccinho Security 1 11-09-2007 02:32 AM
How to check the last login user were doing in the system raziayub SUN Solaris 1 04-04-2007 03:44 AM
Can Unix Co-Exist with Windows 9X on the same System? ms73eb UNIX for Dummies Questions & Answers 2 05-31-2001 07:51 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #8  
Old 11-22-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
I think that's great - who cares if you know what buttons to push if you don't understand why it works? What happens when that button doesn't work for some reason?

Kudos to Perderabo for his always-elightening posts!

And to yls177, don't kill -9 logins... In fact, don't kill -9 anything unless you're unable to kill -1, kill -15, kill -2, etc first!
Forum Sponsor
  #9  
Old 11-22-2002
yls177
Guest
 

Posts: n/a
to livinfree, is there any reason as to dont kill -9 with anything..

will it cause the runlevel to set to 1 which is the single user mode? (or is it 0)
  #10  
Old 11-23-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
kill -9 sends signal 9 (SIGKILL) to the process you're pointing it at. This particular signal is untrappable by the process, and it is forced to terminate instantly.
On the other hand, if you did a kill -1 <pid>, it would think it was that the parent process had hung up or disconnected (going back to dumb terminals and/or dialing lines) - it's a SIGHUP signal.

There are other signals, and all others can be caught (and ignored or something other than a "kill" will happen - inetd, for instance), but most of the time, there's no reason to use kill -9.

For a list of signals, check out "man kill".
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:43 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0