Chinaunix首页 | 论坛 | 博客
  • 博客访问: 445093
  • 博文数量: 138
  • 博客积分: 4114
  • 博客等级: 上校
  • 技术积分: 1341
  • 用 户 组: 普通用户
  • 注册时间: 2007-10-14 20:41
文章分类

全部博文(138)

文章存档

2014年(1)

2013年(2)

2012年(78)

2011年(13)

2010年(34)

2009年(10)

我的朋友

分类: LINUX

2009-10-19 08:41:37

this article mainly illustrate how to set the environment variables in u box. Typically there are three methods to achieve this goal.

1) you can edit the /etc/profile, add the environment variables in this file. And when you relogin, the new environment will be effective fro all users.

2) If you want add the environment respectively for the special user. you can edit the .bashrc in his home directory. By doing this, when the user login in, he/she can use the environment, and it is not effective for others.

3) The last methods is used to set the temp environment variables, for it will become invalid after you out you terminal. The command 'set' is doing this purpose .
 

阅读(606) | 评论(0) | 转发(0) |
0

上一篇:out of mutil-cyle

下一篇:character device and block

给主人留下些什么吧!~~