Jump to content

Browsing the Filesystem


securitybreach

Recommended Posts

securitybreach

 

Linux File Hierarchy Concepts

  • Files and Directories are organized into a single rooted inverted tree structure, including distinct physical volumes such as Floppy Disks, CD-ROMs and Multiple Hard Drives.
  • Filesystem begins at the root directory, represented by lonely forward slash (/).
  • Names in Linux File Hierarchy are case sensitive.
  • Paths are delimited by / such as /usr/share/bin/X11/X
  • Each shell and system process has a current working directory.
  • . refers to the current working directory.
  • .. refers to the parent directory of any particular directory - just one level up in the file hierarchy.
  • Files and Directories whose name begin with a . are hidden.
  • A user’s path is a list of directories that are searched for commands typed at the command line.

Some Important Directories

  • Home Directories: /root, /home/username
  • User Executables: /bin, /usr/bin, /usr/local/bin
  • System Executables: /sbin, /usr/sbin, /usr/local/sbin
  • Shared Libraries: /lib, /usr/lib, /usr/local/lib
  • Kernels & Boot-loaders: /boot
  • Configuration Files: /etc
  • Device Files: /dev
  • Temporary Files: /tmp
  • Other Mount-points: /media, /mnt
  • Server Data: /var, /srv
  • System Informations: /proc, /sys0
  • Optional Applications: /opt

1. Home Directories

  • Every user has a home directory.
  • The root user’s home directory is /root.
  • Most non-root user’s home directories are in /home/username...........

 

https://miteshshah.g...the-filesystem/

  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...