Module 1 and 2 Working with Test files Quiz
•1. Use head and tail to display the fifth line of the file /etc/passwd
•2. Use sed to display the fifth line of the file /etc/passwd
•3. Use grep to show the name of all files on /etc that have lines with the text ‘root’
•4. Use grep to show all lines from all files in /etc that contains exactly 3 characters
•5. Use grep to find all files that contain the string “alex” but make sure that alexander is not included in the results