Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #rgrep
- grep -r --include="pom.xml" aspectj .
- #inverse
- grep -v 'http://' *.txt
- #inverse will remove lines containing a or b
- grep -Ev 'a|b' source.txt > dest.txt
- #find all .deb SNAPSHOTS older than 300 minutes, and print their size
- find . -type f -name *-SNAPSHOT.deb -mmin +300 | xargs du -hs
- #find (non-greedy) text between two strings (multiline is ok)
- sed -n '/CARL CHECK/,/CARL END/{n;p}' preface.txt
Advertisement
Add Comment
Please, Sign In to add comment