Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-23-2002, 11:54 AM   #1
Registered: Aug 2001
Location: French Guiana
Distribution: Red Hat 7.2
Posts: 39

Rep: Reputation: 15
Question What's the difference...?

Hi guys!

Is there a difference between those commands:

- 'service <daemon> restart'
- 'killall -HUP <daemon>'
- './<daemon> restart' <== in the /etc/rc.d/init.d/ directory.

Thanks for any response!
Old 02-23-2002, 06:51 PM   #2
Registered: Feb 2002
Distribution: Debian / Debian-based
Posts: 58

Rep: Reputation: 15
I guess killall -HUP basically requests the daemon to hangup and restart itself. So its upto the daemon to take further action -- it may not restart even.

service .... restart usually invokes a script that cleans up things, and stops and restarts the daemon using daemon's other switches,etc.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
is there any difference/use of su - twice? darkleaf Linux - Software 2 10-12-2004 05:54 PM
what's the difference between ... marlor Slackware 4 06-05-2004 03:38 PM
what is the difference shanenin Linux - Software 4 10-24-2003 10:14 AM
What is the difference? drewski *BSD 5 05-21-2003 04:13 PM
What's the Difference New2Linux1978 Linux - Newbie 4 05-14-2003 07:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration