02 Linux
02 Linux
OPERATING SYSTEM
DEFINITION
Operating System is a collection of programs that coordinates the operation of computer
hardware & software.
Other Programs
Shell
Kernel
Hardware
KERNEL
USER
C Shell
Korn
Borne Shell
KERNEL Shell
Shells
TC
Shell
HARDWARE
LINUX DISTRIBUTION
FEATURES OF LINUX
Open Source
Multitasking
Multi-User
Portable
Scalability
Reliability
Biggest servers on this planet running Linux without single second of downtime from last 10yrs
Security
Inbuilt firewall (Iptables)
FILE SYSTEM HIERARCHY
/home
/boot
This Directory contains the Kernel, the core of the operating system.
This also contains the files related to booting the system such as the boot loader and the initial ram
disk.
/sbin
/opt
It contains the third party applications
ex:- Corel Word Perfect
Sun Star Office
/media
It contains default mount points of removable media such as cdrom, floppy disk, pendrive.
/lib
It contains libraries need by number of different applications as well as Linux kernel.
DISK MANAGEMENT
Package Type of
Name Architecture
METHODS OF INSTALLATION
Standalone Method
Installing through Hard-disk, CD, DVD or Pendrive
Network Installation Method
NFS
RPM - Remove
FTP
Options :
-e - To uninstall the package from the system
--nodeps - To uninstall package even if dependencies are there.
RPM Options
To query the RPM Package
[root@comp1 ~]#rpm <options> <package name>
Options :
-q - To query the availability of installed package.
-qa - Queries all installed RPM’s in OS. Does not require any package specification.
-qc - Lists only the configuration files stored in the queried RPM.
-qd - Lists only the documentation files stored in the queried RPM.
-qi - Displays complete information about the queried RPM.
-qs - Displays the states of files in the queried RPM.
-ql - Display all the files related to the queried RPM.
Network Installation Methods - NFS
To append a file
[root@comp1 ~]# cat >> <filename>
Examples:
/var/log/messages,/var/log/dmesg,/var/log/btmp etc
THANK YOU