Linux commands: Difference between revisions

Jump to navigation Jump to search
625 bytes added ,  19 February 2013
Line 86: Line 86:
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 ==
import mysql sql dump file
* import *.sql file: {{kbd | key =  <nowiki>mysql -u username -p -h localhost DATA-BASE-NAME < data.sql</nowiki> }}<ref>[http://www.cyberciti.biz/faq/import-mysql-dumpfile-sql-datafile-into-my-database/ Import MySQL Dumpfile, SQL Datafile Into My Database]</ref>
* import *.zip file: {{kbd | key = <nowiki>7za x -so data.zip | mysql -u username -p -h localhost DATA-BASE-NAME</nowiki> }}<ref>[http://stackoverflow.com/questions/11267309/importing-zipped-files-in-mysql-using-command-line database - Importing zipped files in Mysql using command line - Stack Overflow]</ref>


== system operation ==
== system operation ==

Navigation menu