Skip to content

Instantly share code, notes, and snippets.

@Luvgreed
Last active September 12, 2018 09:26
Show Gist options
  • Save Luvgreed/9273413bb67443b8fd6c818ac276db0a to your computer and use it in GitHub Desktop.
Save Luvgreed/9273413bb67443b8fd6c818ac276db0a to your computer and use it in GitHub Desktop.
Lunix
# get PID
lsof -i :3000
# check status
ps ax | grep <PID>
# kill
kill -9 <PID>
# public key
openssl genrsa -out private.key 2048
openssl rsa -in private.key -outform PEM -pubout -out public.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment