|
16 April 2009
Useful Commands
Find Files Containing Text
grep -lir "some text" *
To find text within files these results
grep -lir "more text" `grep -lir "some text" *`
Back up files with permissions
tar -cvpzf file.tar.gz *
To look inside of that archive
tar -ztvf file.tar.gz
To extract it
tar -xzvf file.tar.gz


