Topic 2: Finding Your Way on a Linux System
Which command line can be used to search help files that mention the word "copy"?
A.
man -k copy
B.
whatis copy
C.
man copy
D.
copy help
E.
copy –help
man -k copy
Which command shows all of the directories that the shell searches for programs?
A.
less $PWD
B.
echo $PATH
C.
more $ALL_PATH
D.
get $PATH
E.
cat $PATH
echo $PATH
Which of the following is a valid option for a typical command to get its built-in usage
information?
A.
-?
B.
-H
C.
help
D.
--manual
E.
–help
–help
Which of the following is an example of globbing?
A.
ls /etc/ 2> files.txt
B.
ls /etc/ > files.txt
C.
ls /etc/*.txt
D.
ls /etc/ | more
ls /etc/*.txt
Which of the following commands increases the number of elements in a directory?
(Choose two)
A.
touch newfile
B.
create newfile
C.
ls newfile
D.
rmdir newdirectory
E.
mkdir newdirectory
touch newfile
mkdir newdirectory
Page 5 out of 16 Pages |
Previous |