Unix treats and understands everything as a file. For a beginner, lets consider unix is made of files and directories.
Here is Unix file structure,
Each folder has its significance here.
unix -> Unix kernel is available here
bin -> Executable files for unix commands are found here. These files can be written in C program or Shell program.
lib -> Has all library functions provided by Unix for programmers.
dev -> Contains files that control various I/O devices like terminals, printers, disk drivers etc..
usr -> It has a directory for each user. Created by sys admin while creating an account.
tmp -> Stored temporary files created by users/Unix. These files are deleted at the time of restart and shutdown.
No comments:
Post a Comment