tushariscoolster
2/3/2018 - 12:21 AM

Terminal

Terminal commands

#scp file
scp -i default.pem /Applications/Kqed/kqed-new.zip ec2-user@52.14.228.53:/home/ec2-user

#scp folder
scp /path/to/source-file user@host:/path/to/destination-folder/

#open current folder in webstorm
open -a WebStorm .

#run the shell script
chmod +x bar
./bar


#find file
#https://www.digitalocean.com/community/tutorials/how-to-use-find-and-locate-to-search-for-files-on-a-linux-vps
find / -type f -name "*.conf"