IntroToLinux

Review Questions

  1. What’s the difference between grep -v and grep -c?
  2. How do you extract the third column from a CSV file?
  3. What does sort | uniq -c | sort -nr accomplish?
  4. How do you replace text in-place with sed?
  5. What’s the purpose of the tee command?
  6. How do you count unique lines in a file?
  7. What’s the difference between tr -d and tr -s?

Next: → Key Takeaways
Previous: ← Best Practices
Lesson Home: ↑ Lesson 7: Filters & Pipelines Course Home: ⌂ Introduction to Linux