PART 1: Explore commands that compare file contents:
PART 2: Experiment with additional commands:
PART 3: Explore grep filter commands in Chapter 10:
PART 4:
Explore sed filter commands in Chapter 10:
charles harris 98310200987
bill Johnson 327-100-2345
robert dylan 9632454090
john woodcock 2344987665
barry wood 234-908-3456
gordon lightfoot 345-987-4670
Answer to part 1)
-> mkdir is a command to make directory. ~ means to make directory in the current directory.
-> cp is a command to copy files from one directory to another.
-> pr is a command to make the executable for printing.
-> cmp is a command that compares two files and reports the location wherever difference is found. If the files are identical it simply returns.
-> sort is a command that sorts the files line by line .
-> comm is a command to compare two sorted files.
-> diff is a command that returns the location where the files are not identical.





Answer to part 3)
-> grep is a command line utility that searches for a pattern in the given file.
-> ps is a comamnd that displays the process that are currently running in the system.
-> grep ^nobody means to search for a line that starts with nobody. ^ is a regular expression that asks to search for a line starting with any pattern.

PART 1: Explore commands that compare file contents: mkdir ~/mod7 cd mod7 cp /etc/passwd passwd.bak pr...