QUESTION 16 The command sed \'s/\\(.*\\):\\(.*\\):\\(.*\\):\\(.*\\)/\\3:\\4:\\2:
ID: 3905227 • Letter: Q
Question
QUESTION 16
The command
sed 's/(.*):(.*):(.*):(.*)/:::/'
swaps the first and third colums, and the second and forth colums of a colon separated list.
True
False
2 points
QUESTION 17
True
False
2 points
QUESTION 18
The command
ls | paste - -
lists all files in the current directory in three columns
True
False
2 points
QUESTION 19
Filename subsitution always happens on variable assignment.
True
False
2 points
QUESTION 20
True
False
The command tr 'a-z' 'A-Z' | tr 'A-Z' 'a-z' translates all lower case letters to upper case and all upper case letters to lower case. After the command is run, case of the input stream will be swapped.Explanation / Answer
QUESTION 16 - The command sed 's/(.*):(.*):(.*):(.*)/:::/' swaps the first and third colums, and the second and forth colums of a colon separated list. - FALSE
QUESTION 17 - TRUE (tr command in this Question will swap the lower and upper case letters accordingly
QUESTION 18 - True
QUESTION 19 - FALSE
QUESTION 20 - TRUE the current working directory will be /tmp if checked via PWD commad
Please let me know in case of any clarifications required. Thanks!
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.