ITeye博客

linux常用命令

smartzjp · 2013-04-27 16:41 · Linux · 操作系统 · Markdown

su、
env 所有变量名
set 变量名
unset 变量名
export 变量名
ps -a 所有进程
set DISPLAY=LOCALHOST:0
tail -f x.logs
ps -A
ps -ef
ps -ax
nohup sh start.sh &
kill -15 pid
kill -9 pid
top
ps -af |grep java    Windows:netstat -ano  taskkill /PID 123 /F
netstat -tln查看所有端口
netstat -nao |grep 10001
netstat -anp |grep 10001  -p显示进程号

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。