Q. How do I shutdown / poweroff a UNIX computer system from a shell prompt?
A. The halt and poweroff UNIX command line utilities write any pending information to the disks and then stop the processor. The poweroff utility has the machine remove power, if possible. So to shutdown UNIX computer type the following as root user:
halt
or
poweroff
In the following example, shutdown is being executed and is scheduled in 120 seconds. The warning message is output 2 minutes:
shutdown -y -i 5 -g 120 "===== disk replacement ====="
Featured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- My 10 UNIX Command Line Mistakes
- Linux: 20 Iptables Examples For New SysAdmins

- 25 PHP Security Best Practices For Sys Admins
- The Novice Guide To Buying A Linux Laptop
- 10 Greatest Open Source Software Of 2009
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Linux Video Editor Software
Facebook it - Tweet it - Print it -


{ 1 comment… read it below or add one }
it will msg that “shutdown command not found”