Table 51 Basic Linux Directories

Name Description

/ The root directory

/bin Essential commands

/boot Boot loader files, Linux kernel

/dev Device files

/etc System configuration files

/home User home directories

/initrd Initial RAM disk boot support (used during boot time)

/lib Shared libraries, kernel modules

/lost+found Directory for recovered files (if found after a file system check)

Name

Description

/media

Mount point for removable media such as DVDs and floppy disks

/mnt

Usual mount point for local, remote file systems

/opt

Add-on software packages

/proc

Kernel information, process control

/root

Super-user (root home)

/sbin

System commands (mostly root only)

/srv

Holds data for system services some of which is currently stored in /var

/sys

Real-time information on devices used by the kernel

/tftpboot

Network boot support

/tmp

Temporary files

/usr

Secondary software file hierarchy

/var

Variable data (such as logs); spooled files

Some of the important directories in Table 5.1, such as those containing user and root commands or system configuration files, are discussed in the following sections. You will use and edit files under these directories when you use Ubuntu.

Was this article helpful?

0 0

Post a comment