010-160: LPI Linux Essentials Study Guide
1.
Where is:
used to search for programs in restricted locations, such as binary file directories, libraries, and man
directories.
2.
locate:
Searches the system managed database of filenames for files containing the specified string in the filenames.
(Search is much faster than the search performed using the 'find' command)
3.
updated:
Updates
the
system
managed
database
of
filenames
4. Displays current working directory: pwd
5. Change into the current user's home directory: cd ~
cd
$HOME
Both
of
these
do
what
6. Change to the parent directory of the current directory:
cd
..
7. Change to the etc directory in the root (/) directory: cd /etc
8.
Creates a hard link named 'format.txt' for the file 'fmt.txt':
ln fmt.txt
format.txt
9. Creates a symbolic link named sym.txt of fmt.txt:
ln
-s
fmt.txt
sym.txt
10.
touch:
Can be used to update the timestamp of a file or if that file doesn't exist it will create a blank file with the
specified name.
11.
Will update the timestamp of the specified file if it exists. If it does not exist