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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.