Last active
June 25, 2016 06:14
-
-
Save sitebuilderone/e4c6ab7c0c7818b7b4acff29ae999b27 to your computer and use it in GitHub Desktop.
Terminal Commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SSH and SCP Without Passwords | |
// create a key pair | |
$ ssh-keygen | |
// VIEWING | |
// order by date | |
ls -t | |
ls -tr | |
// UPLOADING VIA SSH | |
// Upload files from local to remote | |
scp <file to upload> <username>@<hostname>:<destination path> | |
// example: | |
scp /Users/A***/downloads/Archive.zip username@101.101.101.101:/home/a***/folder | |
// MOVE a file | |
mv file_1.txt /home/site/folder | |
// UNZIP-UNPACK FILES | |
unzip archive.zip | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://www.rapidtables.com/code/linux/index.htm