Check service status running not not
Syntax:
systemctl status service-name
# systemctl status sshd
# systemctl is-active sshd
active
Check service is permanently enabled or not
# systemctl is-enabled sshd
enabled
Syntax:
systemctl status service-name
# systemctl status sshd
# systemctl is-active sshd
active
Check service is permanently enabled or not
# systemctl is-enabled sshd
enabled
0 comments:
Post a Comment