摘要: Linux 下打包除了某一个文件下的子文件夹打包命令tar --exclude ProducSpider/data -czvf Sample.tar ProducSpider/使用exclude命令 注意 exclude后面的文件夹名称不能使用/否则无效把打包文件远程拷贝另一台主机scp Sample.tar root@192.168.1.200:/home/root解压文件:tar -zxvf Sample.tar修改终端位置/etc/profile添加:export PS1='[\u@\h:\w] \$'立即生效:source/etc/profile修改后效果:[ab@CC 阅读全文
posted @ 2013-02-26 17:19 xinyonde 阅读(258) 评论(0) 推荐(0) 编辑