Linux machine Starting, Stopping and restart

shutdown -h now Shutdown the system now and do not
reboot
halt Stop all processes – same as above
shutdown -r 5 Shutdown the system in 5 minutes and
reboot

shutdown -r now Shutdown the system now and reboot

shutdown -r -F now   Force fsck on reboot.

shutdown -r -f now   skip fsck on reboot.

reboot Stop all processes and then reboot – same
as above
startx Start the X system

Leave a Reply