103.4 Streams, Pipes, Redirects Flashcards
Streams - Pipes - Redirects
stream that provide input to
terminals
files
apps
utilities
standard input stream
stdio
Streams - Pipes - Redirects
stream that provides output to
terminals
files
apps
utilities
standard output stream
stdout
Streams - Pipes - Redirects
superset of standard output stream of error messages that are output to
terminals
files
apps
utilities
standard error stream
Streams - Pipes - Redirects
process of taking a stream and sending it somewhere else other than default
redirection
Streams - Pipes - Redirects
standard input
/dev/stdin
Streams - Pipes - Redirects
standard output
/dev/stdout
Streams - Pipes - Redirects
standard error
/stderr
Streams - Pipes - Redirects
commonly stderr is redirect to a file logging or to a special device called
/dev/null
discards it
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
tee
Streams - Pipes - Redirects
takes input stream (result9s0 of another command - commonly the find command) and then feeds them to another command as indicated
xargs