怎么在linux中加入一个路径,让他每次重起自动加入??
在etc/profile中怎么实现?
比如加入 /opt/tools/bin这个路径,在profile中应该加入哪个语句?
---------------------------------------------------------------
你可以在export PATH 之前加上
PATH=$PATH:/opt/tools/bin
或者
pathmunge /opt/tools/bin
---------------------------------------------------------------
PATH=$PATH:/opt/tools/bin
export PATH