Week 3 Comprehension Flashcards
The more command supports the use of arrow keys to navigate while less command does not.
True
False
False
Which line will NOT be displayed with the following command?
$ grep tio* file1
- Options are also taken from
- Notice that this message
- Repeat previous command
- version is especially primitive
-Repeat previous command
Which command is NOT used to display the content of a text file?
- cat
- dog
- head
- tail
-dog
Which command was entered at ____________________? (Select two)
[user1@localhost gdm]$ pwd
/etc/gdm
[user1@localhost gdm]$ ____________________
[user1@localhost share]$ pwd
/usr/share
cd ../../root/usr/share
cd ../../usr/share
cd ../usr/share
cd /usr/share
cd ../../usr/share
cd /usr/share
Find the match for vi editor operations.
i
O
dd
:wq
- Enters the insert mode and opens a new line above the current line
- Enters the insert mode and places the cursor before the current character
- Saves changes to the file and terminates vi
- Removes the current line
i= Enters the insert mode and places the cursor before the current character
O= Enters the insert mode and opens a new line above the current line
dd =Removes the current line
:wq =Saves changes to the file and terminates vi
Which one is NOT a popular text editor on Linux?
- vi
- Emacs
- Python
- nano
- Python
Identify the relative path names. (Select two)
- ../../bin
- /bin
- Download
- /root
- ../../bin
- Download
Which command was given for the output below?
2019-10-14.png (see image in link below)
ls -a
ls -l
ls -F
ls -R
Find the match.
~
.
..
/
The root directory
Current directory
Home directory
Parent directory
Home directory = ~
Current directory =.
Parent directory =..
The root directory =/
What command was given for the following output?
[root@localhost dev]# __________
tty6 tty60 tty61 tty62 tty63
- ls tty6?
- ls tty6*
- ls tty6[0-3]
- ls tty6[0123]