Created
August 7, 2014 13:59
-
-
Save wwwbruno/f30d0bd17f623ec2b1d2 to your computer and use it in GitHub Desktop.
Comando do terminal para o dia a dia
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
# zip folder | |
zip -r filename.zip foldername/ | |
# unzip folder | |
unzip filename.zip -d folderdestination/ | |
# copy file from local to remote | |
scp filename.zip user@server:/path/to/filename.zip | |
# copy file from remote to local | |
scp user@server:/path/to/filename.zip filename.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment