Various directories

We will explore the directory structure in Linux so that it will be useful later on:

  • /bin/: This contains commands used by a regular user.
  • /boot/: The files required for the operating system startup are stored here.
  • /cdrom/: When a CD-ROM is mounted, the CD-ROM files are accessible here.
  • /dev/: The device driver files are stored in this folder. These device driver files will point to hardware-related programs running in the kernel.
  • /etc/: This folder contains configuration files and startup scripts.
  • /home/: This folder contains a home folder of all users, except the administrator.
  • /lib/: The library files are stored in this folder.
  • /media/: External media, such as a USB pen drive, are mounted in this folder.
  • /opt/: The ...

Get Learning Linux Shell Scripting - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.