personal
. To refer to a file called
inventory
in the
chris/memos
directory, you can type the
full path of
/home/chris/memos/inventory
. If your current directory is
/home/chris/memos
,
you can refer to the file as simply
inventory
.
FIGURE 2-1
The Linux file system is organized as a hierarchy of directories.
Some of the Linux directories that may interest you include the following:
/bin
-- Contains common Linux user commands, such as
ls
,
sort
,
date
, and
chmod
.
/boot
-- Has the bootable Linux kernel and boot loader configuration files (GRUB).
/dev
-- Contains files representing access points to devices on your systems. These
include terminal devices (
tty*
), floppy disks (
fd*
), hard disks (
hd*
), RAM (
ram*
), and
CD-ROM (
cd*
). (Users normally access these devices directly through the device files.)
/etc
-- Contains administrative configuration files.
/home
-- Contains directories assigned to each user with a login account (with the excep-
tion of root).
/media
-- Provides a standard location for mounting and automounting devices, such as
remote file systems and removable media (with directory names of
cdrecorder
,
floppy
, and so on).
/mnt
-- A common mount point for many devices before it was supplanted by the stan-
dard
/media
directory. Some bootable Linux systems still used this directory to mount
hard disk partitions and remote file systems.
/proc
-- Contains information about system resources.
66
Linux First Steps
Part I