Linux serviceThe service command starts, stop and restart a daemon or services by calling the script. Usually all scripts are stored in /etc/init.d directory. It runs a script in as predictable environment as possible. Syntax: Here, command can be anyone from start, stop, restart and status.
stop commandTo stop a service use the following syntax, Syntax: start commandTo start a service use the following syntax, Syntax: restart commandTo restart a service use the following syntax, Syntax: status commandTo get current status of a service use the following syntax, Syntax:
Next TopicLinux Terminating Commands
|