LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-14-2003, 02:57 PM   #1
linux_guy2003
Member
 
Registered: Jun 2003
Posts: 30

Rep: Reputation: 15
shutdown


what xcatly is the difference between shutting down one's system and halting it..when we use the command poweroff,it says halting system.then how do we shut it down
 
Old 06-14-2003, 03:12 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
it's the same thing, just depends how you call the halt program. if you call it by "poweroff" it turns the power off, if you call it by "reboot"... well.. that's obvious.

Code:
trevor chris # ls -l /sbin/poweroff 
   0 lrwxrwxrwx    1 root     root            4 May 11 12:27 /sbin/poweroff -> halt
trevor chris # ls -l /sbin/shutdown 
 16K -rwxr-xr-x    1 root     root          15K May 11 12:27 /sbin/shutdown
trevor chris # ls -l /sbin/reboot   
   0 lrwxrwxrwx    1 root     root            4 May 11 12:27 /sbin/reboot -> halt
trevor chris # ls -l /sbin/halt   
 12K -rwxr-xr-x    1 root     root         8.7K May 11 12:27 /sbin/halt
halt (which IS poweroff or reboot) calls shutdown, which then acts accordingly. the manpage expains these relationships in greater depth
 
  


Reply


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
Please help on how to save services shutdown or shutdown from the terminal. wambuzz Linux - General 2 03-11-2005 08:38 AM
Linux full shutdown vs. manual shutdown? LQtoto Linux - General 9 01-26-2005 07:21 PM
unable to 'shutdown' from x... need to shutdown using 'halt' guitarnix Linux - Newbie 5 11-24-2003 02:00 AM
konsole shutdown possible? or key combo = shutdown possible? Laptop2250 Linux - Newbie 3 11-16-2003 11:44 AM
shutdown hang during eth0 shutdown kurtisw Linux - Networking 5 10-30-2003 03:49 PM


All times are GMT -5. The time now is 10:05 AM.

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