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

0
Last updated at Posted at 2025-04-20

runlevelコマンド

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

ランレベルとターゲット

ランレベル ターゲット
/etc/systemd/system
ターゲット
/lib/systemd/system
対象初期化システム init(SysVinit) systemd runlevel0.target
停止 0 poweroff.target runlevel0.target
シングルユーザーモード 1/s/S rescue.target runlevel1.target
マルチユーザーモード
(テキストログイン)
2, 3, 4 multiuser.target runlevel[234].target
マルチユーザーモード
(グラフィカルログイン)
5 grafical.target runlevel5.target
再起動 6 reboot.target runlevel6.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?