10 2016 档案

摘要:1、查看当前容器的分布,并确定如何调整 db2look -d sample -l -cor -dp -o dd.sql 2、给表空间添加容器 db2 "alter tablespace tbname add (FILE '/data/db2inst1/NODE000/TEST/TEST_01' 1G 阅读全文
posted @ 2016-10-31 14:47 hufangrui 阅读(4839) 评论(1) 推荐(0) 编辑
摘要:一、导入导出 ixf: db2 export to /tmp/xxx.csv of ixf lobs to . xml to . modified by codepage=1208 "select * from sysibm.dual" db2 import from tablename of ix 阅读全文
posted @ 2016-10-31 14:40 hufangrui 阅读(1337) 评论(0) 推荐(0) 编辑
摘要:一、mutt命令 1、安装 yum -y install mutt 2、使用 echo "mail content"|mutt -s "mail title" test@test.com -a /tmp/test1.txt /tmp/test2.txt 二、uuencode命令 1、安装 uuenc 阅读全文
posted @ 2016-10-31 14:01 hufangrui 阅读(3180) 评论(0) 推荐(0) 编辑
摘要:db2set配置: db2set DB2_ENABLE_LDAP=NO db2set DB2_ALTERNATE_GROUP_LOOKUP=GETGROUPLIST db2set DB2_RESTORE_GRANT_ADMIN_AUTHORITIES=ON db2set DB2_SKIPINSERT 阅读全文
posted @ 2016-10-31 11:46 hufangrui 阅读(4823) 评论(0) 推荐(0) 编辑
摘要:1、将常用命令,设置为别名,方便记忆 alias listapp='db2 list applications' alias listappx='db2 list applications show detail' alias listtran='db2 list INDOUBT TRANSACTI 阅读全文
posted @ 2016-10-27 09:48 hufangrui 阅读(536) 评论(0) 推荐(0) 编辑
摘要:1、小写字母转换大写字母 echo "aBcD"|tr 'a-z' 'A-Z' 2、大写字母转换小写字母 echo "aBcD"|tr 'A-Z' 'a-z' 3、当前脚本路径 basepath=$(cd `dirname $0`; pwd) 具体详细解释,请看http://www.cnblogs. 阅读全文
posted @ 2016-10-27 09:25 hufangrui 阅读(186) 评论(0) 推荐(0) 编辑
摘要:第一种:命令使用方法 例子1: cat test.txt 1 2 3 for i in $(cat test.txt) do echo $i done 例子2: for i in 1 2 3 4 do echo $i done 例子3: for i in $(seq 1 100) do echo $ 阅读全文
posted @ 2016-10-26 19:35 hufangrui 阅读(369) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示