2. Add/remove a package
• What is yum ?
•
Yum is a command to manage packages on a Linux Operating System. It will search for
targeted repository and itsdependencies. This command only works for Red Hat
Distribution ( CentOs / Fedora)
• Yum install <package>
• Yum remove <package>
• Yum update <package>
3. File and directory management
• Pwd = Current location
• Cd = Change directory
• Mkdir = Create a directory
• Touch = Create a file
• Cp = Copy a file
• Mv = Move a file
• Ls = List
5. Display the content
• Tail => show the bottom of a file
• Head => show the top of a file
• Cat => show an entire file
• More => print an entire file
6. Good commands to know
• Ifconfig => Network configuration
• Df –h => Disk Free
• Du –h => Disk Use
• Top (pre-installed) or htop => Process viewer
• Updatedb => Update indexing
• Locate => Search a file
• Find => Search a file
7. How to get the proper syntax of a command ?
• <command> --help
• Man <command>