AIX
文章平均质量分 63
amy116
这个作者很懒,什么都没留下…
展开
-
how to check which process occupied the port
1. netstat -Aan|grep 找到该端口连接对应的PCB/ADDR和连接的协议类型。注:PCB ----Protocol Control Block2. 如果是tcp连接,则rmsock tcpcb如果是udp连接,则rmsock inpcb下面我们以telnet服务所使用的23号端口为例,说明该方法:#netstat -Aan|grep 23f10转载 2014-11-13 11:45:50 · 637 阅读 · 0 评论 -
Unix Learning
1. how to check OS default shell?echo $SHELL(Unix is case-sensitive)when write a script, should declare the shell first or execute in the specific shell environment:#!/usr/bin/ksh OR #!/bin/ks原创 2014-11-25 15:43:09 · 453 阅读 · 0 评论