After completing this module, you should be able to:
- Know how to use basic filters such as: grep, sed, head, tail, sort, uniq and tr.
- Know how to compare files with cmp, diff and comm.
- Create regular expressions using: * . [ ][^ ] ^ $ \( \)\{ \}
Commands:
- Regular Expressions
-
- .
- *
- [ ]
- [^ ]
- ^
- $
- \(\)
- \{\}
- sed -n d
- grep -v -l -n
- sort -n -u -r -o -t
- uniq -d -c -u
- comm -1 -2 -3
- cut -d -f -c
- paste -d -s
- tr -s -d -c