Unix Basics
Unix Dir Structure
| Directory | Description |
| / | Primary hierarchy root and root directory of the entire file system hierarchy. |
| /bin/ | Executable binary command files. |
| /dev/ | Has nodes for devices , hard disk , tape etc |
| /etc/ | Host-specific configuration files such as /etc/inittab , /etc/hosts |
| /home/ | Users’ home directories . |
| /lib/ | Libraries needed by various Unix programs. |
| /mnt/ | Temporary file system mount point . |
| /opt/ | Optional application software packages installation directory . |
| /proc/ | Virtual file system having kernel process files . |
| /sbin/ | system binaries files such as init . |
| /tmp/ | Temporary file system used to store temporary data of programs . |
| /usr/ | user related command , programs , librar |
|
Binary commands for all users . |
|
Include files required by programs.. |
|
Libraries for the binaries in /usr/bin/ and /usr/sbin/. |
|
system binaries for users . |
|
shared file system |
|
Source code files |
|
Optional user programs and packages are installed here . |
| /var/ | Directory to store dynamic files such as logs . Most programs has /var as default location for writing log , lock and spool fies . |
|
Lock files. |
|
Log files. |
|
Users’ mailboxes. |
|
Spool for tasks waiting to be processed (e.g. print queues and unread mail). |
Unix commands — Next


Leave a Reply
Comments will be published after approval by Moderator.