Session Review

Session ID: 134
Mode: objective
Status: in_progress
Score: 0%

Filter: All | Incorrect | Flagged | Unanswered

Current filter: Unanswered

Back to Session

Question 1 (103.4-023 / short_answer)

Which command uses input from standard input as arguments to another command?

Status: Unanswered

Your Answer:

Accepted Answer(s):
xargs

Explanation:
The objective explicitly lists xargs and describes using one command's output as arguments to another [1].

Question 2 (103.4-006 / multiple_choice)

Which operator appends standard output to the target file instead of overwriting it?

Status: Unanswered

Your Answer:

Options:

Explanation:
The lesson demonstrates >> as the append redirection operator [1].

Question 3 (103.4-008 / multiple_choice)

Which symbol is used to pipe the output of one command into another command?

Status: Unanswered

Your Answer:

Options:

Explanation:
The summary states that command pipelining uses the | symbol [1].

Question 4 (103.4-022 / short_answer)

Which command can send command output both to the screen and to a file?

Status: Unanswered

Your Answer:

Accepted Answer(s):
tee

Explanation:
The objective includes tee and specifically mentions sending output to both stdout and a file [1].

Question 5 (103.4-002 / multiple_choice)

Which standard file descriptor number is assigned to stdout?

Status: Unanswered

Your Answer:

Options:

Explanation:
Standard Linux processes use file descriptor 1 for stdout [1].

Question 6 (103.4-013 / multiple_choice)

Which command redirects stdout to stderr?

Status: Unanswered

Your Answer:

Options:

Explanation:
The lesson explicitly states that 1>&2 redirects stdout to stderr [1].

Question 7 (103.4-010 / multiple_choice)

Which command uses the output of one command as arguments to another command?

Status: Unanswered

Your Answer:

Options:

Explanation:
The objective explicitly includes xargs, and the key knowledge areas mention using output of one command as arguments to another [1].

Question 8 (103.4-014 / multiple_choice)

Which command redirects stderr to stdout?

Status: Unanswered

Your Answer:

Options:

Explanation:
The lesson explicitly states that 2>&1 redirects stderr to stdout [1].

Question 9 (103.4-003 / multiple_choice)

Which standard file descriptor number is assigned to stderr?

Status: Unanswered

Your Answer:

Options:

Explanation:
Standard Linux processes use file descriptor 2 for stderr [1].

Question 10 (103.4-011 / multiple_choice)

What does the command date 1> now.txt redirect?

Status: Unanswered

Your Answer:

Options:

Explanation:
The guided exercise answer states that date 1> now.txt redirects standard output or stdout [1].