Comptia Linux +, Ch. 3
It is an executable file.
After typing the ls -F command, you notice a filename that ends with an * asterisk character. What does this mean?
Press the Esc key
How can a user switch from insert mode to command mode when using the vi editor?
Precede the string with a ^
How can you specify a text pattern that must be at the beginning of a line of text using a regular expression?
cd /etc
If a user's current directory is /home/mary/project1, which command could she use to move to the etc directory directly under the root?
True
Linux has only one root directory per directory tree. True or False?
displays the contents of a file in reverse order last line first and first line last
The tac command _________
command, insert
The vi editor can function in which two of the following modes? (Choose both that apply.)
[!a-d]
Using wildcard metacharacters, how can you indicate a character that is NOT an a or b or c or d?
filea, fileb, filec
What will the following wildcard regular expression return: file[a-c]?
quit without saving any changes
What will typing q! at the : prompt in command mode do when using the vi editor?
strings
Which command searches for and displays any text contents of a binary file?
pwd
Which command would a user type on the command line to find out what directory in the directory tree he is currently in?
C:\myfolder\resume, /home/resume
Which of the following is an absolute pathname? (Choose all that apply.)
True
A directory is a type of file. True or False?
cd ../..
A user typed in the command pwd and saw the output: /home/jim/sales/pending. How could that user navigate to the /home/jim directory?
the first 10 lines of the file mary
A user types in the command head /poems/mary. What will be displayed to the terminal screen?
It is a hidden file
After typing the ls -a command, you notice that there is a file whose filename begins with a dot ( . ). What does this mean?
resume
If resume is the name of a file in the home directory off the root of the filesystem and your present working directory is home, what is the relative name for the file named resume?
represent hardware devices such as hard disk drives and ports
A special device file is used to ___________.
False
The less command offers less functionality than the more command. True or False?