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