Changes

From SME Server
Jump to navigationJump to search
No change in size ,  21:07, 17 February 2013
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
+
 
 +
Estimate file space usage - drill down into directories
 
  cd /
 
  cd /
 
  du --si --max-depth 1
 
  du --si --max-depth 1

Navigation menu