Beruflich Dokumente
Kultur Dokumente
Lecture 4
Lecture Overview
Example Of wc
sort
Example Of sort
uniq
Example Of uniq
Wouldnt It Be Nice If We
Could sort And uniq A File?
Input
Output
stdin
stdout
stderr
stdin
stdout
stderr
Example Of >
Redirecting stdin
<
Example Of <
>>
Appends all output of a program to a file
Will create a file if it doesnt exist, but
wont overwrite any information currently
in a file
Example Of Append
Redirection
0 = stdin
1 = stdout
2 = stderr
Example:
Answer
Complex Example