-
What is Operating System ?
Operating system is an interface between user and the computer hardware. The hardware of the computer cannot understand the human readable language as it works on binaries i.e. 0's and 1's. Also it is very tough for humans to understand the binary language, in such case we need an interface which can translate human language to hardware and vice-versa for effective communication. -
Types of Operating System:
- Single User - Single Tasking Operating System
- Single User - Multitasking Operating System
- Multi User - Multitasking Operating System
Path | Description |
---|---|
/ | It is parent directory for all other directories.(root directory) |
/root | It is home directory for root user and it provides working environment for root user |
/home | It is home directory for other users and it provide working environment for other users |
/boot | It contains bootable files for Linux. Like GRUB (GRand Unified Boot loader) boot.ini, ntldr |
/etc | It contains all configuration files. Like User info /etc/passwd |
/usr | By default softwares are installed in /usr directory |
/opt | It is optional directory for /usr and it contains third party softwares. |
/bin | It contains commands used by all users(Binary files) |
/sbin | It contains commands used by only Super User (root) |
/dev | It contains device file like hard disk /dev/hda |
/proc | It contain process files and data are not permanent, they keep changing like information of CPU /proc/cpuinfo |
/var | It is containing variable data like mails, log files |
/mnt | It is default mount point for any partition. It is empty by default |
/media | It contains all of removable media like CD-ROM, pen drive |
/lib | It contains library files which are used by OS. Library files in Linux are shared object files |
-
Basic Commands
-
LS Command
-
Filter Commands
-
GREP Command
-
Find Command
-
File Permissions
-
Changing Ownership and Group
-
VI Editor
-
Linux Links