Changes

From SME Server
Jump to navigationJump to search
160 bytes added ,  22:55, 2 February 2012
added du command
Line 128: Line 128:  
  rsync --progress -te "ssh -p <ssh_portnumber>" foo <other_server_ipaddress>:/opt    transfers file to another server
 
  rsync --progress -te "ssh -p <ssh_portnumber>" foo <other_server_ipaddress>:/opt    transfers file to another server
 
  sed -i s/foo/fee/g <FILENAMEORPATHTODIR>  replaces foo with fee
 
  sed -i s/foo/fee/g <FILENAMEORPATHTODIR>  replaces foo with fee
 +
Estimate file space usage - drill down into directories
 +
cd /
 +
du --si --max-depth 1
 +
cd /home
 +
du --si --max-depth 1
 +
cd /home/e-smith
 +
du --si --max-depth 1
    
===RPM's===
 
===RPM's===
624

edits

Navigation menu