java development operation command commonly used Liunx

See all ports occupancy:

  • Excuting an order:netstat -nultp

State wherein said value has been occupied LISTEN

View a port occupancy:

  • Excuting an order:netstat -anp |grep 端口号

Not enough time to start tomcat rights issues in liunx in:

  • Go to the bin directory of tomcat, execute the command: chmod u+x *.sh(to add to the current user directory permissions to execute all .sh file)
  • Then execute the command:./startup.sh

linux unzip command:

  • The current directory extract the compressed files to a specified directory, execute the command:unzip -oq 压缩文件 -d 指定目录

View svn process:

  • Excuting an order:ps -ef|grep svn

Start svn:

  • Excuting an order:svnserve -d -r安装路径

Kill a process:

  • Excuting an order:kill -9 进程id

Guess you like

Origin www.cnblogs.com/paopaolx/p/11358484.html