|/||The root directory , Where everything begins|
|/etc||This directory contains system configuration files |
This directory contains the commands and utilities that you on a daily basis (All the users have access to it)
|/sbin||This directory contains programs that performs vital system tasks (Network management , Disk partitioning).Only the superuser has access to these programs.|
Each user is given a directory under the home directory .A user can store anything in his home directory Ex:Music files,Pictures, ...etc
This directory contains optional commercial software products that are not installed by default on the system (Ex: Google Earth)
|/tmp||This directory contains temporary files created by various programs. Generally cleared on reboot |
|/var||Contains variable data (Ex: databases, spool files, user mail, etc. are located here. )|
Two special Directories
Under each directory , we have two special directories (1) The current directory represented as .
(2) The parent directory represented as ..
and so one dot refers to the current directory and two dots refers to the parent (Previous) directory.
Shell vs Terminal
- Before starting to learn about the Linux command line, we have to know some terminology and facts.
- The shell is the command line interpreter, meaning that it takes the commands that you enter and sends them to the operating system to perform (execute).
- And so to make things clear, The shell is what actually handles the commands.
- The shell is the default interface to Linux
On the other hand, The Terminal is just a graphical interface to the shell. In other words, We access the shell through our terminal in a GUI (Graphical User Interface) environment.