Linux (and putty) cheat sheet

Only putting this up for my own convenience. If it helps someone else, then that’s even better.

Linux:
Tar and gzip a folder:
tar –cvzf folder.tgz folder/
tar create in a verbose manner and zip to file folder.tgz from folder/

Putty and friends:
pscp user@host:/root/stuff target
pscp user@host:folder_in_home/stuff target

Leave a Reply