LINUX COMMANDS What are three commands used for finding data . Select one: a. aw
ID: 3887730 • Letter: L
Question
LINUX COMMANDS
What are three commands used for finding data.
Select one:
a. awk, which, find
b. sed, awk, find
c. paste, join, uniq
d. grep, which, find
e. head, tail, less
If you are using vim and need to get a prompt to save the current file or quit, what key should you press?
Select one:
a. Ctrl+Alt
b. Esc
c. F1
d. Alt
e. Ctrl
Which of the following gives the correct hierarchy for login shell sessions, starting from the first file bash attempts to read.
Select one:
a.
.bash_profile
.bash_login
.profile
b.
.bashrc
.bash_profile
.profile
c.
/dev/null/bashrc
/etc/default/locale
/bin/bash
d.
.profile
.bash_profile
.bashrc
e.
.bash
.ksh
.vimrc
nano, vi, vim, and emacs are all examples of:
Select one:
a. environment variables
b. graphical text editors
c. text-based text editors
d. shell builtins
Assume you are using the vi editor and you are in insert mode, meaning you're actively editing the text in a document. How do you save your work and exit the editor?
Select one:
a. ESC
b. CTRL + S
c. ESC -> q! -> Enter/Return
d. File -> Save
e. Esc -> :wq -> Enter/Return
What command would you use to print out environment variables and their associated values?
Select one:
a. printenv USER
b. printenv root
c. printenv | less
d. printenv all
When using vi, what key do you type in normal or command mode to go to the last line in a file?
Select one:
a. Z
b. G
c. a
d. w
e. i
Q Why would you use the alias command?
Select one:
a. to create aliases for the environment's variables
b. to create a simple, short command for otherwise complicated commands
c. to create an alias for the user's account
d. to do masterful hacking without rousing suspicion
vi can open multiple files at once.
Select one:
True
False
Many commands in vi can be prefixed with a number which specifies which line the command is to be carried out on.
Select one:
True
False
Explanation / Answer
CHEGG POLICY: ONLY ONE QUESTION IS ALLOWED PER POST or ONE QUESTION WITH ATMOST 4 SUB-PARTS, please ABIDE BY THE CHEGG POLICY
post further questions accordingly
1) b). sed, awk, find
2) b) Esc
3) d)
.profile
.bash_profile
.bashrc
4) c) text-based text editors
PLEASE RATE !!
Thanks !
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.