Service command in Ubuntu 8.10 (Intrepid) server
If you have experience with Red Hat, Fedora, and CentOS servers you might be knowing about service command this is very useful command to start,stop and restart a service simple way.
sudo service <service name> start/stop/restart
Service command Examples
For example if you want to restart apache server use the following command
sudo service apache2 restart
sudo service named restart
If you want to show the status of all services on your ubuntu server use the following command
This command is very useful for server administrators.