systemctl enable httpd
# to start the service right away
systemctl start httpd
# to check the status of a service
systemctl status httpd
# to list active services
systemctl list-units --type service
# to list all services including inactive ones
systemctl list-units --type service --all
# to list all services installedsystemctl list-unit-files
No comments:
Post a Comment