What is the command for shutdown in Ubuntu?

Đức Linh

New member
What is the command for shutdown in Ubuntu?
Answer
To be sure of that, you can use the -P switch with shutdown to poweroff the computer. The poweroff and halt commands basically invoke shutdown (except for the poweroff -f ). sudo poweroff and sudo halt -p are exactly like sudo shutdown -P now . The command sudo init 0 will take you to the runlevel 0 (shutdown).
 

Tìm kiếm

Back
Top