日々精進

新しく学んだことを書き留めていきます

ubuntuでサービスの状態を確認する

service --status-all でサービスの状態を確認出来る。 例えば、sshdが起動中かどうかを確認したい場合、 service --status-all | grep ssh を実行する。