Answered step by step
Verified Expert Solution
Question
1 Approved Answer
QUESTION 16 The command sed 's/(.*):(.*):(.*):(.*)/3:4:2:1/' swaps the first and third colums, and the second and forth colums of a colon separated list. True False
QUESTION 16
The command
sed 's/\(.*\):\(.*\):\(.*\):\(.*\)/\3:\4:\2:\1/'
swaps the first and third colums, and the second and forth colums of a colon separated list.
True
False
2 points
QUESTION 17
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. |
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
After the following command executes |
cd /; tar cf - etc | ( cd /tmp;tar -xf - ) |
The value of the current working directory $PWD would be /tmp |
True
False
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started