Changes

From SME Server
Jump to navigationJump to search
121 bytes added ,  17:08, 17 February 2014
Line 187: Line 187:  
|-
 
|-
 
| mc -d  || show midnight commander (cli file browser) to navigate through system easily
 
| mc -d  || show midnight commander (cli file browser) to navigate through system easily
|-
  −
| cat /proc/mdstat || shows software raid
   
|-
 
|-
 
|  host -t mx aol.com || shows the mx records for aol.com
 
|  host -t mx aol.com || shows the mx records for aol.com
Line 198: Line 196:  
| ifconfig || shows detailed info on ethernet ports
 
| ifconfig || shows detailed info on ethernet ports
 
|-
 
|-
| grep -r "casesensitivesearch" * || finds all documents containing the criteria in a dir
+
| grep -sr "casesensitivesearch" * || finds all documents containing the criteria in a dir
 +
|-
 +
| grep -sr server-manager.jpg  /etc/e-smith/ || search the file server-manager.jpg in the path directory /etc/e-smith
 
|-
 
|-
 
| tail -f /var/log/<LOGFILE> || realtime viewing of your log file
 
| tail -f /var/log/<LOGFILE> || realtime viewing of your log file
Line 205: Line 205:  
|-
 
|-
 
| mdadm --detail /dev/mdx (where x is 0,1,2,etc) || gives raid info
 
| mdadm --detail /dev/mdx (where x is 0,1,2,etc) || gives raid info
 +
|-
 +
| cat /proc/mdstat || shows software raid
 
|-
 
|-
 
| tar -czvf foo.tar.gz foo || creates a tar/zip file of a directory
 
| tar -czvf foo.tar.gz foo || creates a tar/zip file of a directory
Line 218: Line 220:  
| watch mysqladmin process || shows the mysql processes running
 
| watch mysqladmin process || shows the mysql processes running
 
|}
 
|}
      
Estimate file space usage - drill down into directories
 
Estimate file space usage - drill down into directories

Navigation menu