Skip to content

Instantly share code, notes, and snippets.

@supun19
Last active November 12, 2018 13:06
Show Gist options
  • Save supun19/471952a469d37111203dfde95f32bf6f to your computer and use it in GitHub Desktop.
Save supun19/471952a469d37111203dfde95f32bf6f to your computer and use it in GitHub Desktop.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
mac os commands:
printenv
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Docker Commands:
===============================
login container
sudo docker exec -i -t 7fbb78213417 /bin/bash
===============================
stop all container
sudo docker stop $(sudo docker ps -aq)
=================================
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
aws commands:
==========================
s3 copy
aws s3 cp --recursive /opt/consult/frontend-dashboard/build s3://teach.meetrix.io
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
server
pm2: start
pm2 start "/usr/local/bin/npm" --name "myAPP" -- start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment