Linux commands: Difference between revisions

Jump to navigation Jump to search
17 bytes added ,  16 December 2012
Line 75: Line 75:
== apache operation ==
== apache operation ==
check apache servie is running or not
check apache servie is running or not
* {{kbd | key=service --status-all | grep httpd}}  ({{Linux}}<ref>[http://www.cyberciti.biz/faq/check-running-services-in-rhel-redhat-fedora-centoslinux/ Red Hat / CentOS: Check / List Running Services]</ref>)  
* {{kbd | key=<nowiki>service --status-all | grep httpd</nowiki>}}  ({{Linux}}<ref>[http://www.cyberciti.biz/faq/check-running-services-in-rhel-redhat-fedora-centoslinux/ Red Hat / CentOS: Check / List Running Services]</ref>)  
* {{kbd | key=<nowiki>netstat -an | find /i "listening"</nowiki>}}  ({{Win}}) find the local open ports & find local address TCP 0.0.0.0:80 is listening
* {{kbd | key=<nowiki>netstat -an | find /i "listening"</nowiki>}}  ({{Win}}) find the local open ports & find local address TCP 0.0.0.0:80 is listening


Navigation menu