Linux Services





Español Français 中文 Deutsch Portuguese Japanese nederlands
   
 
LINUX Services
LINUX Services Introduction, Important Run-level application Introduction
LINUX Run-level application RunLevels
How to start a service in linux Starting Services
LINUX Services Listing Services
LINUX Services Introduction, Important Run-level application Services in A
LINUX Services Introduction, Important Run-level application Services in B
LINUX Services Introduction, Important Run-level application Services in C
LINUX Services Introduction, Important Run-level application Services in D
LINUX Services Introduction, Important Run-level application Services in E
LINUX Services Introduction, Important Run-level application Services in F
LINUX Services Introduction, Important Run-level application Services in G
LINUX Services Introduction, Important Run-level application Services in H
LINUX Services Introduction, Important Run-level application Services in I
LINUX Services Introduction, Important Run-level application Services in K
LINUX Services Introduction, Important Run-level application Services in L
LINUX Services Introduction, Important Run-level application Services in M
LINUX Services Introduction, Important Run-level application Services in N
LINUX Services Introduction, Important Run-level application Services in O
LINUX Services Introduction, Important Run-level application Services in P
LINUX Services Introduction, Important Run-level application Services in R
LINUX Services Introduction, Important Run-level application Services in S
LINUX Services Introduction, Important Run-level application Services in T
LINUX Services Introduction, Important Run-level application Services in U
LINUX Services Introduction, Important Run-level application Services in V
LINUX Services Introduction, Important Run-level application Services in W
LINUX Services Introduction, Important Run-level application Services in X
LINUX Services Introduction, Important Run-level application Services in Y
LINUX Services Introduction, Important Run-level application Services in Z
Forums Ask your doubts
LINUX Services Introduction, Important Run-level application More about Linux
LINUX Services Introduction, Important Run-level application Feedback
 





Starting Linux Services


Topic

How to start/ stop Linux services?


Explanation

     Now lets see how to start or stop a service.

Status of a Service:
     Before starting or stoping a service, first check the status of the service. Suppose if we want to start a httpd service, lets first check the status of the service like:
/etc/rc.d/init.d/httpd status
httpd is stopped
     From the above example, we can see the status of the service httpd is stopped.

Start a Service
     After checking the status, now we can proceed to start a service.
/etc/rc.d/init.d/httpd start
Starting httpd:                                            [  OK  ]
     The above one will start the httpd server.

Stop a Service
     If we want to stop a service, we can check the status of the service and proceed to stop a service.
/etc/rc.d/init.d/httpd stop
Stopping httpd:                                            [  OK  ]
     This command will stop the httpd server.



A Note

List of Linux Services at Runlevels. Hope you enjoy this tutorial. We welcome your Valuable feedbacks or suggestions on this LINUX Services. This is a copyright content.


Other Links

web hosting

 

Free Hosting

Top Hosting Companies