Last active
June 29, 2019 05:26
-
-
Save isthatcentered/5bde2fc1ef76fb318e21b94d5118d834 to your computer and use it in GitHub Desktop.
Processes
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
ps -ax # List all running processes | |
ps -ax | grep {X} # Get all processes with name {X} Ex: ps -ax | grep Skype | |
kill {pid} # Kill a running process. Ex: kill 44345 | |
# Kill a port | |
kill -2 $(lsof -t -i:4200) # https://stackoverflow.com/questions/39091735/port-4200-is-already-in-use-when-running-the-ng-serve-command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment