Skip to content

Instantly share code, notes, and snippets.

@tushar-borole
Last active July 11, 2018 21:46
Show Gist options
  • Save tushar-borole/8bb404be1881b6129d6cc34de1a52a88 to your computer and use it in GitHub Desktop.
Save tushar-borole/8bb404be1881b6129d6cc34de1a52a88 to your computer and use it in GitHub Desktop.
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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment