Type this while you are at the directory of your local computer
scp -r localfile user@remote_server:/remote_home/remote_directory
ex: scp -i key.pem newphoto/ma.jpg [email protected]:~/dog-project/
ex: scp -i key.pem -r JACC [email protected]:/home/ubuntu/
Type this while you are at the directory of your local computer
scp -r user@remote_server:/remote_home/remote_folder .
Note . at the end is local folder
This removes everything alongwith folder
sudo rm -rf mydir
For removing file only
sudo rm -r filename
7z x train-tif-v2.tar.7z
- Amazon: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstancesLinux.html
- http://searchenterpriselinux.techtarget.com/tutorial/77-useful-Linux-commands-and-utilities
- These commands are lerned from Linux Academy's 'Linux Administrator course'.
- Learn more from Linux Academy: Linux, Kubernets and all other cutting age cloud computing courses. Free Trial is available for one month.