Command Data Flows & Redirecting Standard Output Flashcards

1
Q

what is standard input’s default link?

A

Keyboard

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is standard output’s default link?

A

Terminal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what are the two input options for a command?

A

standard input and command arguments

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

when referencing command inputs and outputs.

how many data flow options are there and what are they?

A

3 data flows.
standard input
standard output
standard error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is the processing of piping

A

linking the output of one command to the input of another’s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is a different term of piping

A

concatenation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what number values represent:
standard input
standard output
standard error

A

standard input = 0
standard output = 1
standard error = 2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

command for redirecting or concatenating a data-flow

A

cat 1> destination.txt

1,2 and 3 are interchangeable depending on which data-flow you intend to redirect

How well did you know this?
1
Not at all
2
3
4
5
Perfectly