Friday, February 18, 2011

Linux Commands

  • find / -name "filename.extn"
  • find . -name "filename.extn"
  • grep *pattern* filename
  • du -sh *
  • df -k
  • top (command to see process)
  • ps -eaf | grep keyword
  • cat /etc/
  • rm -rf directory-name (delete folder recursively and forcefully)
  • uname -a (to know os details)
  • cat /etc/redhat-release (to know red hat version)
  • rpm -qf /etc/redhat-release (to know the OEL version)
  • rpm -ivh package-name.rpm
  • scp /home/oracle/Desktop/WebLogicServer11gR1_10.3.4.zip oradb@remote.machine.host.name:/home/oradb/
  • sudo su -

No comments:

Post a Comment