2014年2月3日
摘要: Ubuntu Linux系统包含两类环境变量:系统环境变量和用户环境变量。系统环境变量对所有系统用户都有效,用户环境变量仅仅对当前的用户有效。修改用户环境变量用户环境变量通常被存储在下面的文件中:~/.profile~/.bash_profile 或者 ~./bash_login~/.bashrc上述文件在Ubuntu 10.0以前版本不推荐使用。系统环境变量系统环境变量一般保存在下面的文件中:/etc/environment/etc/profile/etc/bash.bashrc/etc/profile和 /etc/bash.bashrc在Ubuntu 10.0版本中不推荐使用。加入环境变量 阅读全文
posted @ 2014-02-03 19:02 一路前行 阅读(47411) 评论(0) 推荐(1) 编辑
摘要: Chkcofig不再适用于Ubuntu系统,可用类似的软件sysv-rc-conf进行替换:Chkconfig is no longer available in Ubuntu.Chkconfig is a script. You can download it from here.sudo apt-get install sysv-rc-confsysv-rc-conf --list xxxx当然也可以alias chkconfig=sysv-rc-confchkconfig --list 阅读全文
posted @ 2014-02-03 17:02 一路前行 阅读(4605) 评论(0) 推荐(0) 编辑