Common Cmd in Linux

 To list the folder size  du- hs /your/folder
  To list free memory  free -t –m
 to list all the process:  ps -ef      or    ps -Af
 To do a remote copy from A to B server  scp -r userA@10.1.1.1:/home/userA/sourcefolder/ userB@10.1.1.3:/home/userB/
 check linux version  uname -a
 List disk space  df -h
 To  find file and delete them  : find all CVS hidden fodler and remove them  find ./ -name CVS -exec rm -rf {} \;

 

 

 

Advertisements