Exercises. Part 3

Navigate to the data/pipes directory for the following exercises.

$ cat salmon.txt
$ uniq salmon.txt
$ cat animals.txt | head -5 | tail -3 | sort -r > final.txt
$ cut -d, -f 2 animals.txt

produces the following output:

deer
rabbit
raccoon
rabbit
deer
fox
rabbit
bear