Show Menu
Cheatography

My Linux/Unix Cheatsheet Cheat Sheet (DRAFT) by

Commands I need to remember

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Merge Folders

rsync -abviuzP src/ dest/
-i itemized format, shows more inform­ation
-b backup files that exist in both folders, appending ~ to the old file. You can control this suffix with --suffix .suf
-u skip files which are newer in dest than in src
-z turns on compre­ssion
-P turns on --partial and --progress
--partialc keep partially transf­erred files
--progress shows a progress bar for each transfer
 

SSH

Remove empty folders

find ./path -type d -empty -exec rm -rf \;

Search File by name

find ./path -type f -name file.ext
 

AWS Creden­tials

isenga­rdcli assume