/etc/profile will affect every single user logon to the system ,
if the path is for root only, better add to ~root/.profile .作者: george16 时间: 2006-05-23 06:21
同意楼上的作者: chinadns 时间: 2006-05-23 08:55
只修改root用户的话,只需要编辑/目录下的.profile文件,如果没有该文件,创建之后再编辑
export PATH=$PATH:yourpath:…