09 2014 档案
摘要:command1&command2&command3 三个命令同时执行 command1;command2;command3 不管前面命令执行成功没有,后面的命令继续执行 command1&&command2 只有前面命令执行成功,后面命令才继续执行
阅读全文
摘要:sed -i '$a service snmpd start' /etc/rc.localsed -i "41s:public:mykey:g" /etc/snmp/snmpd.confsed -i "85s:#::g" /etc/snmp/snmpd.conf参考资料:http://www.osc...
阅读全文
摘要:find ./ -mtime 83 -exec sz {} \;find . -type f -exec ls -l {} \;\;表达 -exec 的结束。==========================[1]find / -name "*.sh"|xargs tar -rf sh.tgz[2...
阅读全文
摘要:#add by zexport ORACLE_BASE=/u01/oracleexport ORACLE_HOME=/u01/oracle/11.02export ORACLE_SID=zexport PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOMEexport LD...
阅读全文
摘要:[oracle@sta ~]$ vi .bash_profile# .bash_profile# Get the aliases and functionsif [ -f ~/.bashrc ]; then. ~/.bashrcfi# User specific environment and st...
阅读全文
摘要:jenkins总是不能取到最新的SVN版本;网上有说修改系统时间来解决的,尝试后发现无效;在源地址末尾添加@HEAD可以解决这个问题。
阅读全文