01 2013 档案

Oracle RAC 11g R2在$ORACLE_HOME/dbs目录下不断产生core文件问题的解决
摘要:OS:AIX 6.1root@db01:/grid/product/11.2.0/bin$ oslevel -s6100-07-00-0000oracle@db01:/home/oracle$ emctl status dbconsoleOracle Enterprise Manager 11g Database Control Release 11.2.0.3.0Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.https://db01:5500/em/console/aboutApplicationOracl. 阅读全文

posted @ 2013-01-11 09:57 知也无涯 阅读(2257) 评论(0) 推荐(0)

在批量文件中替换字符串
摘要:sed -i "s/cba/abc/g" `grep cba -rl test` 阅读全文

posted @ 2013-01-04 08:58 知也无涯 阅读(200) 评论(0) 推荐(0)

Putty无法显示中文文件名(显示为乱码)的解决办法
摘要:在.bash_profile中加入:export LANG=zh_CNexport LC_ALL=zh_CN修改putty设置:Window -> Appearance -> Font Settings,选择Fixedsys或其它中文字体。Window -> Appearance -> Translation -> Received data assumed to be in which character set,选择Use font encoding 阅读全文

posted @ 2013-01-02 22:02 知也无涯 阅读(489) 评论(0) 推荐(0)

Linux下查找并批量修改文件扩展名
摘要:查找当前目录及其子目录下所有扩展名为.sh的文件,将其扩展名修改为.bashfind . -type f -name "*.sh" -print0 | xargs -0 rename .sh .bash {}使用find的-print0和 xargs的-0选项,可以解决文件名中包含空格的问题。 阅读全文

posted @ 2013-01-02 21:53 知也无涯 阅读(2691) 评论(0) 推荐(0)