5.4 Special Directories and Files Flashcards
Special Directories
where are temp files stored
/tmp
Special Directories
temp directory that must be cleared during the boot process
/run
/var/run
Special Characters
parameter for chmod in symbolic mode to enable the sticky bit on a directory
The symbol for the sticky bit in symbolic mode is t. Since we want to enable (add) this
permission to the directory, the parameter should be +t
Special Characters
Imagine there is a file named document.txt on the directory /home/carol/Documents. What
is the command to create a symbolic link to it named text.txt in the current directory?
ln -s is the command to create a symbolic link.
Special Characters
another name for a file. Even though it looks like a duplicate of the original
file, for all purposes both the link and the original are the same, as they point to the same data
on disk. Changes made to the contents of the link will be reflected on the original, and viceversa
hard link
Special Characters
a completely independent entity, occupying a different place on disk. Changes
to the copy will not be reflected on the original, and vice-versa
copy