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

Popular posts from this blog

Nginx Proxy & Load Balance & LNMP

Snort+barnyard2+Snorby CentOS 6.5_64 Installation

ORACLE Error