PATH設定 - Linux
By Mary
at 2010-03-20T00:08
at 2010-03-20T00:08
Table of Contents
如標題
我是寫在/etc/profile裡面
所以有先執行source /etc/profile
可是比如說我要執行k這個檔案
執行echo $PATH
會出現PATH=...:/opt/hsnu/sbin
我直接打k會說-bash: maui: command not found
如果我打/opt/hsnu/sbin/k就可以執行
請問一下為什麼?
感謝
--
我是寫在/etc/profile裡面
所以有先執行source /etc/profile
可是比如說我要執行k這個檔案
執行echo $PATH
會出現PATH=...:/opt/hsnu/sbin
我直接打k會說-bash: maui: command not found
如果我打/opt/hsnu/sbin/k就可以執行
請問一下為什麼?
感謝
--
Tags:
Linux
All Comments
By Doris
at 2010-03-20T20:57
at 2010-03-20T20:57
Related Posts
10個最酷的Linux單行指令
By Zora
at 2010-03-19T21:31
at 2010-03-19T21:31
如何知道debian支援的檔案系統?
By Elizabeth
at 2010-03-19T21:27
at 2010-03-19T21:27
putty連suse
By Adele
at 2010-03-19T19:25
at 2010-03-19T19:25
grub
By Tristan Cohan
at 2010-03-19T18:19
at 2010-03-19T18:19
wubi如何設定開機選單??
By Megan
at 2010-03-19T16:46
at 2010-03-19T16:46