Zip a file

1
2
sudo apt-get install zip
ip -r compressed_filename.zip foldername

Compress an Entire Directory or a Single File:

1
tar -czvf name-of-archive.tar.gz /path/to/directory-or-file

or compress a file in the same directory:

1
tar -czvf archive.tar.gz stuff

SSH

1
2
ssh-add [some random key]
ssh [user]@[at something].[dot something]

Comment and share

  • page 1 of 1
Author's picture

LordAlex Leon

LordAlex Leon | Creative Technologist


I create Rich Internet Applications for desktop and mobile devices.