command: service
purpose: service command controls the Starting, Stopping or Restarting of
              services like DNS, Apache, DHCP, NIS, NFS ... without restarting
              the system for the changes to take effect.

syntax:
              # service SCRIPT COMMAND [OPTIONS]


example:

1. $ service --status-all

    service --status-all runs all init scripts, in alphabetical order, with
    the status command

2. To start the named service

    # service named start

3. To stop apache service

    # service httpd stop

4.  To restart ftp service

    # service ftpd restart

regards,
dhanasekar
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to