DistributedNetworks DistributedNetworks

Special File Types   «Prev  Next»
Lesson 9

Unix File Directories Conclusion

In this module, you learned:
  1. How UNIX treats regular files and directories differently from other operating systems
  2. How to identify the special properties of device files
  3. How to use symbolic links to simplify software maintenance
In addition, you learned some useful tricks for working with files, including:
  1. Using the options available with the ls command
  2. Using the find command, its predicates, and other utilities to create more targeted finds

Key terms

In this module, we used the following terms:
  1. device: A device is a piece of hardware used by the system, such as hard drives, CD-ROMs, and so on. Devices are treated as a special type of file.
  2. file: A file is any resource accessible on a UNIX system, including "regular" files, directories, and devices. 2) The file command displays information about a file's.
  3. symbolic link: A symbolic link is an alias for a file.


In this module, we discussed the following commands:
Command Purpose
file Determines the file type.
find Searches the filesystem for files meeting certain criteria.
head Displays the first part (10 lines by default) of each given file.
ln –s Creates a symbolic link.
ls –F Lists file type information.
wc Displays a character, word, or line count for a specified file.
tail Displays the last part (10 lines by default) of each given file.
xargs Arranges for the command to read arguments from standard input. This command is used to pipe output from find into other commands.

File types - Quiz

Click the Quiz link below to take a multiple-choice quiz covering what you learned in this module.
File Types - Quiz