Lecture 2
Stderr
$ 2 > file.txt$ head -n 20 file.txt > temp
$ wc -w < temp > output.txtPipeline
# Takes output from cmd before and redirects it as input in second command
$ head -n 20 file.txt | wc -w > output.txt$ cat words*.txt | $ sort
$ sort$ uniq
$ uniqEmbedded Command
How to find words or patterns in a file
$ egrep
$ egrepMore Pattern Rules
ls -l
ls -lLast updated