LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 01: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, 02:12 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:38 PM.

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
Open Source Consulting | Domain Registration