LoginSignup
0
0

More than 3 years have passed since last update.

Linuxをコマンドラインから即シャットダウン・ログオフ

Last updated at Posted at 2016-02-12

シャットダウン

shell
sudo shutdown -h 0
# または
sudo poweroff

なお、-h-Pでも構いません。また、0nowでも構いません。

ログオフ

shell
gnome-session-quit --no-prompt
# または
pkill gnome-session
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0