Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 329 Bytes

unix_cheat_sheet.md

File metadata and controls

10 lines (8 loc) · 329 Bytes

UNIX Cheat Sheet

egrep

  • egrep -r --include '*.txt' foo .: Search for all text files containing "foo" recursively, starting in the current directory.

find & xargs

  • find . -name '*.md' | xargs -I {} cp {} /somewhere/else: Copy all markdown files in the current directory somewhere else.