The service tool lets you check the status of a service, start a service and
stop a service.
First, switch to the root user.
Checking the status of a service:
/sbin/service httpd status
Starting a service:
/sbin/service httpd start
Stopping a service:
/sbin/service httpd stop
stop a service.
First, switch to the root user.
Checking the status of a service:
/sbin/service httpd status
Starting a service:
/sbin/service httpd start
Stopping a service:
/sbin/service httpd stop
No comments:
Post a Comment