systemdコマンド

systemdのコマンド例

代表的なコマンド

できることコマンド例
サービスの起動・停止systemctl start nginx
自動起動の設定systemctl enable sshd
状態確認systemctl status firewalld
ログの確認journalctl -u nginx
システム再起動・停止systemctl reboot