Tuesday, February 12, 2013

SCP command line

Upload file from local computer to a remote server
  scp somefile username@server:/home/username/
Download file from remote server to local computer
  scp username@server:/home/username/file_name /home/local-username/file-name
Copy files from a remote server to another remote computer
  scp user_name1@server1:/home/user_name1/file_name user_name2@server2:/home/user_name2/

Zip command on linux terminal

Simply, type this code on your terminal
   zip -r target_file.zip source_file