Basic Linux TutorialIntroduction – What is it? Why to learn? Linux installation directory structures Boot process Run levels in Linux Desktop Environments Different shells BASH Internal and External Commands Basic Linux Commands Important files and directories in Linux Environmental and Shell Variables Command history in Linux Character classes in Linux Text editors vim nano Searching files Creating new files Viewing File Contents File commands File permissions and ownership WildCards (Globbing) in files File compression Directory commands xargs command in Linux Comparing files Searching patterns using grep command Translating the characters using tr command Extracting data using cut command Stream editing using sed command Data extraction and reporting using awk command Sorting the file or string input uniq command in Linux Difference between grep, tr, cut, sed and awk commands Hardware commands Hard disk and memory space commands Working with Processes Managing Jobs Working with cron jobs Service command in Linux Network commands Managing Users and Groups Other Popular commands Standard streams and Redirection Pipes Package Managers in Linux
package managers in linux shellPackage managers are used to package and distribute the Linux applications. In Linux, there are mainly 2 types of package managers.
- Yum and RPM for Red Hat and CentOS
- apt-get for Ubuntu and Debian based systems
Syntax for rpm is given below.
yum install <package-name> yum update <package-name> yum remove <package-name>
Syntax for apt-get is given below.
rpm -ivh <rpm-file> rpm -uvh <rpm-file> rpm -ev <package-name>
apt-get install <package-name> apt-get update <package-name> apt-get remove <package-name>
Complex problems, Simple Solutions