103.4 Streams, Pipes, Redirects Flashcards

1
Q

Streams - Pipes - Redirects

stream that provide input to
terminals
files
apps
utilities

A

standard input stream

stdio

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

Streams - Pipes - Redirects

stream that provides output to
terminals
files
apps
utilities

A

standard output stream

stdout

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

Streams - Pipes - Redirects

superset of standard output stream of error messages that are output to
terminals
files
apps
utilities

A

standard error stream

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

Streams - Pipes - Redirects

process of taking a stream and sending it somewhere else other than default

A

redirection

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

Streams - Pipes - Redirects

standard input

A

/dev/stdin

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

Streams - Pipes - Redirects

standard output

A

/dev/stdout

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

Streams - Pipes - Redirects

standard error

A

/stderr

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

Streams - Pipes - Redirects

commonly stderr is redirect to a file logging or to a special device called

A

/dev/null

discards it

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

Streams - Pipes - Redirects

accepts stdio stream and sends one identical output stream to an indicated file often used when you want to capture output of an app but also need to see the results on screen

A

tee

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

Streams - Pipes - Redirects

takes input stream (result9s0 of another command - commonly the find command) and then feeds them to another command as indicated

A

xargs

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