Last active
September 12, 2018 09:26
-
-
Save Luvgreed/9273413bb67443b8fd6c818ac276db0a to your computer and use it in GitHub Desktop.
Lunix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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