Linux shutdown command
1. shutdown
shutdown -h now: inform user and shutdown immediate
shutdown -r now: inform user and restart immediate
shutdown -k now: inform user system will shutdown but not shutdown
2. init
init 0: shutdown immediate
init 6: restart immediate
3. halt
halt -pf: power off
sync: sync context in memory or cache into disk
Comments
Post a Comment