$PATH順序更改問題 - Linux

By Tristan Cohan
at 2013-03-19T17:04
at 2013-03-19T17:04
Table of Contents
各位前輩好
小弟想要更改PATH裡面的順序
小弟的$PATH是
-bash: /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:
/usr/local/bin:/usr/local/git/bin:/Users/joey3060/.rvm/bin:
目標是想把當打which git時
把/usr/bin/git改到/usr/local/bin/git
所以想修改PATH的順序 爬了文有大大說修改~/.bashrc , ~/.bash_profiel ,~/.profile
但是我去看了 發現裡面沒有像PATH那樣一串的路徑==
不知道怎麼改..google老半天 還是不會
拜託大大們救救我這超級新手
--
Tags:
Linux
All Comments

By Brianna
at 2013-03-19T21:30
at 2013-03-19T21:30

By Robert
at 2013-03-21T09:51
at 2013-03-21T09:51
Related Posts
linux拿win7的資料

By Susan
at 2013-03-19T03:36
at 2013-03-19T03:36
Ubuntu 10.04 guest session shutdown

By Mason
at 2013-03-18T23:42
at 2013-03-18T23:42
請教 sed 下法

By Olivia
at 2013-03-18T16:46
at 2013-03-18T16:46
VNC遠端傳組合鍵的問題

By Jessica
at 2013-03-18T16:40
at 2013-03-18T16:40
Debian安裝好OwnCloud出現錯誤

By Gilbert
at 2013-03-18T16:13
at 2013-03-18T16:13