Test 1 Option 2 Practice Test - mestato/EPP622_2026 GitHub Wiki

  1. grep for this pattern and print the lines ("S")
  2. grep for this pattern and count the lines ("S")
  3. grep for this pattern and print the line numbers with the matches ("S")
  4. grep for this pattern in a case insensitive search and print the lines ("S")
  5. grep this pattern and print all the matches ("S")
  6. grep for this pattern at the beginning of the line ("2")
  7. grep for NOT this pattern in the file lines (inverted)
  8. grep for a set of numbers (1-9 for example)
  9. sed find and replace one word with another
  10. sed find and replace one word with another, save in place (ie write the change to the file you give it)
  11. find a file with a specific suffix (.csv) in the current directory and subdirectories
  12. find a file with a specific set of letters ("mal") anywhere in the file name
  13. find directories in your current folder or below
  14. perform a diff on two files
  15. sort the lines in a file
  16. sort the lines in the file numerically
  17. find the uniq lines in the file