shutdown -h
- User
shutdown -h
- Assistant
The command
shutdown -his used in Unix and Linux-based operating systems to halt the system. Here's a breakdown of what it does:shutdown: Initiates the shutdown process.-h: Stands for "halt," which stops all processes and powers off the machine.
Usage Example
bashsudo shutdown -h now