摘要:From: 10.0.0.61To: 10.0.0.62/tmp/scp -r -P 22 -v /tmp/ root@10.0.0.62:/tmp/the yellow one is the source path.The red one is the destination path.
阅读全文
随笔分类 - Linux
摘要:Build-Date: Fri Nov 25 19:16:33 CST 2011Apache-Version: 2.2.21PHP-Version: 5.2.17PHP-Patches: php52-backports-security-20111030.patch suhosin-patch-5.2.16-0.9.7.patch dimg_realpath-5.2.17.patchPHP-Extensions: suhosin-0.9.32.1 memcache-3.0.6 APC-3.1.9 xdebug-2.1.2
阅读全文
摘要:for i in {1..32000};do mkdir $i;donefor i in {1..32000};do rm -rf $i;done
阅读全文
摘要:http://www.360doc.com/content/09/0701/15/36491_4099251.shtml
阅读全文
摘要:http://www.linuxsir.org/main/node/256Rsync传输速度较之scp是迅速很多的。
阅读全文
摘要:du -sh files/files 文件夹参数 可换
阅读全文
摘要:有些内容因为基本上不变动,为了减少打包时间和下载时间因此需要排除一些目录之前在网上看到一方法是这样,结果证明不行(不知道是不是因为系统不同的原因)tar -zcvf dayanmei.com.tar.gz –exclude = ./dayanmei.com/cache ./dayanmei.com/正确的做法应该是将需要排除的目录放在最后tar -zcvf dayanmei.com.tar.gz ./dayanmei.com/ –exclude ./dayanmei.com/cachetar示例七:我要备份 /home, /etc ,但不要 /home/dayanmei.com (排除多个目录
阅读全文
摘要:从IBM Developer上呛来的,做个参考吧。http://www.ibm.com/developerworks/cn/linux/l-cn-filetransfer/
阅读全文

浙公网安备 33010602011771号