Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1015 Bytes

File metadata and controls

32 lines (23 loc) · 1015 Bytes

Linux File Structure

!       !       !       !       !       !       !       !        
!       !       !       !       !       !       !       !
!       !       !       !       !       !       !       !
!       !       !       !       !       !       !       !
V       V       V       V       V       V       V       V

/      /home  /bin    /sbin    /etc    /lib    /opt    /var
  1. / c / called is root d t directory. home : It contains home directories for all users to store their personal files.

  2. /home users home directory

  3. /bin for binary files

  4. /sbin Just like /bin It contains the commands and files, but

  5. /etc It contains the configuraiton files

  6. /lib library files

  7. /opt optional installations

  8. /Var contains variables like logs

Directories

Linux file system is casesensitive. (Zaftech and zaftech both are different) Hidden files start with . (dot) extension. dot (.) refers to current dir. Following are the directories in the Redhat OS.