Created
October 1, 2019 17:25
-
-
Save aircokol/f7898ba5ad5bead9355de017369a0966 to your computer and use it in GitHub Desktop.
Разные консольные команды
This file contains hidden or 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
| // copy files | |
| scp -P [PORT] [user]@[server]:/var/www/html/index.html ~/Desktop | |
| // archive files | |
| tar -zcvf /var/www/html-backup.tar.gz /var/www/html | |
| // extract from archive | |
| tar -zxvf /var/www/html /var/www/html-backup.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment