QUESTION 21 The command: tr -d \'\\012\' removes the newline from the input stre
ID: 3905229 • Letter: Q
Question
QUESTION 21
The command:
tr -d ' '
removes the newline from the input stream
True
False
2 points
QUESTION 22
By convention an exit status of non-zero indicates success.
True
False
2 points
QUESTION 23
Which statement best describes the streams that are automatically connected to each process?
Standard Input (stdin)
Standard Ouput (stdout)
Stadnard Error (stderr)
A & B & C
None of the above
4 points
QUESTION 24
If shell script has owner, group, and others (world) execute permissions set but only read permissions set for group and others, this script can be executed by the owner.
True
False
2 points
QUESTION 25
Which statement best describes the command that finds for the string $FOO.
grep "$FOO"
grep '$FOO'
grep $FOO
A & C
B & C
a.Standard Input (stdin)
b.Standard Ouput (stdout)
c.Stadnard Error (stderr)
d.A & B & C
e.None of the above
Explanation / Answer
QUESTION 22
By convention an exit status of non-zero indicates success.
True
False
Answer)
False.
Exit status zero indicates success and non-zero indicates failure.
QUESTION 23
Which statement best describes the streams that are automatically connected to each process?
a.
Standard Input (stdin)
b.
Standard Ouput (stdout)
c.
Stadnard Error (stderr)
d.
A & B & C
e.
None of the above
Answer)
d.
A & B & C.
stdin, stdout and stderr are automatically connected to each process.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.