First we should know the port is being used?
Mac :
you can input
netstat -anp tcp | grep 8080
you will get some info
If you Mac system is "EI Caption"
you should input
lsof -i tcp:8080
How to look process pid number?
int the bash input :
ps -au | group name
you can see this link:
http://www.chriswrites.com/how-to-view-and-kill-processes-using-the-terminal-in-mac-os-x/
Showing posts with label man. Show all posts
Showing posts with label man. Show all posts
Wednesday, April 6, 2016
How to use man?
I think man is the best tool for unix system, All like unix system will support man.
man -h
you will get help
man -ps
you will get you want to ps information
click q you can exit man
enter you can see more info about you look command
man -h
you will get help
man -ps
you will get you want to ps information
click q you can exit man
enter you can see more info about you look command
Subscribe to:
Posts (Atom)