Linux Guide For Newbies


Recommended Posts

  • 2 weeks later...
  • 2 weeks later...

add to How do I shut down my machine?

sync

halt

shutdown -h now

(or your WM or DM has a shutdown or reboot buton)

Link to post
Share on other sites
add to How do I shut down my machine?

sync

halt

shutdown -h now

(or your WM or DM has a shutdown or reboot buton)

I'd also add shutdown -p now just for reference.

Edited by Carnevil
Link to post
Share on other sites

this below is from the man page, I am not sure what the real difference is. They seem similar, but kind of different

-h Halt or poweroff after shutdown.

-P Halt action is to turn off the power.

Is sync really nessesary, doesn't flushing the buffers happen automatically by running shutdown?

Link to post
Share on other sites

only if drives are mounted with the sync option, which most are, but flash drives and fat drives are not by default

Link to post
Share on other sites
only if drives are mounted with the sync option, which most are, but flash drives and fat drives are not by default

Link? AFAIK only the last six words of that sentence are correct ;)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...