Sponsored By

Sign in to follow this  
Matt

Linux Guide For Newbies

Recommended Posts

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)

Share this post


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

Share this post


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?

Share this post


Link to post
Share on other sites
Is sync really nessesary, doesn't flushing the buffers happen automatically by running shutdown?

Yeah.

Share this post


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

Share this post


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 ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this