Chapter 6 . Managing Files 247 directories can (My web site)
Chapter 6 . Managing Files 247 directories can also be created as needed. In order to create the directories /home/angie/ourfiles, /home/angie/ourfiles/myfiles, /home/angie/ ourfiles/yourfiles the following command can be used. # mkdir /home/angie/ourfiles /home/angie/ourfiles/myfiles /home/angie/ourfiles/yourfiles In the above command the directory /home/angie/ourfiles is created first. The command then creates the directories myfiles and yourfiles within the ourfiles directory. Understanding File System Hierarchy Objective 2.4 Devices, Linux File Systems, Filesystem Hierarchy Standard Find system files and place files in the correct location. Understand the filesystem hierarchy standard, know standard file locations, know the purpose of various system directories, find commands and files. Involves using the commands: find, locate, which, updatedb. Involves editing the file: /etc/ updatedb.conf The Linux file system follows a tree-like structure. The root (/) contains primary directories. Each directory located off the root can contain other directories as it branches off. Being familiar with several key directories when working with Linux is important. In this section we examine many of those directories. Standard file locations The following are some standard file locations on Linux systems. . /etc Contains many of the script and configuration files used on the system. . /etc/skel Contains the files that are to be copied to each user s home directory. Cross-The /etc/skel file is covered in greater detail in Chapter 10. Reference . /usr Contains many subdirectories that store applications and source files used by the user and superuser accounts. Some of these include the following: /usr/bin Contains executables used by users. This should be included in the user s path statement. /usr/sbin Contains executables used by superuser.
If you are in need for chaep and reliable webhost to host your website, our recommendation is http web server services.