Pre-requisites:
Oracle VM VirtualBox
Download Iso Image of CentOS 7
About Linux OS
- Just like Windows, iOS, and Mac OS, Linux is an operating system.
- An operating system is a software that manages all of the hardware resources associated with your desktop or laptop. To put it simply, the operating system manages the communication between your software and your hardware. Without the operating system (OS), the software wouldn’t function.
- It is an open-source operating system. The source code of Linux is easily available to everyone.
- Linux provides security.
- Customizations are possible in Linux.
- Free to use.
- The cost of Linux is low.
- Has large community support.
Boot Processing
BIOS: Basic Input/output system executes MBR
MBR: Master Boot Record executes GRUB
GRUB: Grand Unified Bootloader executes the kernel
KERNEL: Kernel executes init/sbin
INIT Init executes run-level programs
runlevel Run level programs execute from /etc/RC
Different shells we used in Linux
- Bash shell
- Tcsh shell
- Ksh shell
- Zsh shell
- Fish shell
Some of the basic Linux commands
- cd Change directory
- ls listing of files/directory
- ls -l long listing of files/directory
- echo used of reading
- chmod change directory
- PWD present working directory
- uptime to display information about uptime
- df -h disk utilization
- du -sh disk usage
- rm: to remove a file
File permission in Linux
File permission in Linux is associated with three categories users, group and others
-rw-r--r--
Different file permission associated are
r read 4
w write 2
x execute 1
4+2+1 = 7
For example
- permission 777 signifies that
user, group, and others have all permissions i.e read write and execute
2. permission 467 represents
user has read the permission
group has read and read and write permission
others have all read, write and execute permission
Yum vs APT
Yum is used with the RedHat family
APT is used with the ubuntu family
Both are used as dependency manager used to update, download and install software and packages into the system.
Thanks for reading
Tripura Kant
No comments:
Post a Comment