The project is arranged to commonly used Linux commands on the host

ls view files in the current directory
Which file into the cd which makeup
ps -ef | grep project name to view his port ---------------
kill -9 process ID ------------ kill the process
 tail -f view real-time progress of the project
cat get this document
  netstat -anp | grep port number
  netstat -nultp (here do not add the port number)
This command is to look at all of the current situation ports already in use
LISTENING does not mean that the port is occupied, not to confuse LISTEN Oh, see the specific port, you must be seen tcp, port number, LISTEN the line, it indicates that the port is occupied
telnet ip port number to see if the service did not open open (white words even without an Internet connection).

Guess you like

Origin www.cnblogs.com/guozy123/p/11881761.html