0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

[Linux][system][command] 初期化システム_ランレベルの確認_runlevel

Last updated at Posted at 2025-04-20

runlevelコマンド

# runlevel 
オプション 由来・意味 説明
default 現在と直前のランレベルを表示
- 例:N 5
- Nは前回が不明、5は現在のランレベル
--help ヘルプ表示 使用方法を表示(サポートされる環境のみ)
--version バージョン表示 バージョン情報を表示(環境により非対応)

ランレベルとターゲット

ランレベル ターゲット
対象初期化システム init(SysVinit) systemd
停止 0 poweroff.target
シングルユーザーモード 1/s/S rescue.target
マルチユーザーモード
(テキストログイン)
2, 3, 4 multiuser.target
マルチユーザーモード
(グラフィカルログイン)
5 grafical.target
再起動 6 reboot.target

Ping-t

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?