Professional Documents
Culture Documents
Soalan 2
Soalan 2
Use the ls command with the -F option to explore directories described in the
Filesystem Hierarchy Standard starting with /bin. Do you recognize any of the
commands in /bin? Explore several other FHS directories and note their contents.
Refer to Table 4-1 for a list of directories to explore. Further, visit
http://refspecs.linuxfoundation.org/fhs.shtml and read about the Filesystem Hierarchy
Standard. What benefits does it offer Linux?
The benefits is that the FHS should provide a standardized file system layout across
various UNIX-like operating system. This would mean that users and developers alike
how exactly where to find which files.
2. Write the commands required for the following tasks. Try out each command on
your system to ensure that it is correct:
a. Make a hierarchical directory structure under /root that consists of one directory
c. Create one more directory with three subdirectories beneath it and move files from
e. Symbolically link two of the files and examine their link count and inode information.
f. Make symbolic links from your home directory to two directories in this structure
g. Delete the symbolic links in your home directory and the directory structure you