摘要: 今天我在修改系统的环境变量时使用命令$ export AAA=bx当前session下$ echo AAAbx当前session可以可以取到值,但是之前打开的session不可以,重新关闭后打开即可获取。~/.bash_profile:定义了个人路径与环境变量的文件名称~/.bashrc:设定个人变量~/.bash_history:记录历史命令~/.bash_logout:注销shell的时候BASH为你所做的事情,通常只有清屏 阅读全文
posted @ 2011-12-14 18:48 通行天下 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 今天在用rsync 同步服务器资源时发现如下错误(***.***.***.***代表IP地址)[bxbx@djserver9 rsync_billing_log]$ rsync --list-only ***.***.***.***::blbxbx@ERROR: chroot failedrsync error: error starting client-server protocol (code 5) at main.c(1506) [Receiver=3.0.7]初步确定是权限不足后添加权限后同步正常 阅读全文
posted @ 2011-12-12 13:30 通行天下 阅读(519) 评论(0) 推荐(0) 编辑