首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 其他相关 >

个人初记

2012-10-24 
个人小记13:44:04 # lsof -i :80|grep -v PID|awk {print kill -9,$2}|sh   以上脚本可以清除Linux

个人小记
13:44:04
 # lsof -i :80|grep -v "PID"|awk '{print "kill -9",$2}'|sh
  以上脚本可以清除Linux下80端口的进程


(未测试)
13:44:16
在Linux操作系统中

查看占用某一端口的进程是什么:#lsof -i:端口号

[root@oa test]# lsof -i:21

14:16:02
Cannot find ./catalina.sh. This file is needed to run this program. 这个明显是sh文件没有运行权限。chmod +x catalina.sh,ok

查询重复字段
select * from hcoit where hcoitvchco in(
SELECT t.hcoitvchco
FROM hcoit t
GROUP BY t.hcoitvchco
HAVING COUNT(t.hcoitvchco) > 1 )


PL/SQL DEVELOPER中禁用科学计数法:
Tools - Prefrence - SQL Window - check "Number fields to_char"

热点排行