linux下常用的命令总结
1、查看软件安装目录:
#whereis svn#which svn#svn -v 查看版本号
修改文件所在用户权限:chown co_jboss.co_jboss file删除文件可执行权限:chmod -x file添加目录为公共目录权限:chmod -R 777 目录/文件重命名:mv a b文件复制:cp ht1213.war /home/co_front/copywar/2013_12_26ht1213.war压缩目录文件:tar cvzf file.tar.gz /文件夹
nohup ./jboss-as-web-7.0.2.Final/bin/standalone.sh \&;tail -f nohup.out ./defender/ci.sh;cp defender/defender_web/target/basestation.war jboss-as-7.0.2.Final/standalone/deployments/;killall -9 java;nohup ./jboss-as-7.0.2.Final/bin/standalone.sh \&;tail -f nohup.out
ssh 15.0.0.2 -p 1022scp -P 1022 /home/iotop-0.6-1.src.rpm root@15.0.0.2
svn co svn://221.224.93.246:9980/SkyEye/BHU1213/development/Java/defender/defender_core --username=zy --password=zy123svn up