Linux commands: Difference between revisions

Jump to navigation Jump to search
388 bytes added ,  1 March 2013
mNo edit summary
Line 82: Line 82:
* {{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<ref>[http://technet.microsoft.com/en-us/library/bb490947.aspx Netstat]</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<ref>[http://technet.microsoft.com/en-us/library/bb490947.aspx Netstat]</ref>
* more on [[Testing#connection_test | connection test]]...
* more on [[Testing#connection_test | connection test]]...
[http://www.linuxforums.org/forum/red-hat-fedora-linux/29893-where-apache-installed.html Where is apache installed?]<ref>[http://www.aboutlinux.info/2006/04/enabling-and-disabling-services-during_01.html Enabling and disabling services during start up in GNU/Linux | All about Linux]</ref>
* {{kbd | key=<nowiki>cat /etc/rc.d/rc.local</nowiki>}} if the apache service is already launched


check which mpm (multi processing module) apache is running
check which mpm (multi processing module) apache is running
* {{kbd | key=httpd -l}}  ({{Linux}} & {{Win}}) ex: {{Linux}} /usr/local/httpd/bin/httpd -l or {{Win}}  x:\apache\bin>httpd -l where x:\apache is the installation folder of apache <ref>[http://www.binarytides.com/check-which-mpm-multi-processing-module-apache-is-running/ Check which mpm (multi processing module) apache is running | Binary Tides]</ref>
* {{kbd | key=httpd -l}}  ({{Linux}} & {{Win}}) ex: {{Linux}} /usr/local/httpd/bin/httpd -l or {{Win}}  x:\apache\bin>httpd -l where x:\apache is the installation folder of apache <ref>[http://www.binarytides.com/check-which-mpm-multi-processing-module-apache-is-running/ Check which mpm (multi processing module) apache is running | Binary Tides]</ref>


== mysql operation ==
== mysql operation ==

Navigation menu