我剛剛在我的bash shell中添加了一個.profile文件。但是,我注意到即使您更改爲有效的目錄,錯誤「-bash:print:commant not found」也不斷出現。我的.profile只包含一些導出。bash:print:command not found
[[email protected]:/home/rob]cd apps
-bash: print: command not found
[[email protected]:/home/rob/apps]cd util
-bash: print: command not found
[[email protected]:/home/rob/apps/util]
任何人都可以指出爲什麼這個錯誤不斷顯示?
有沒有其他方式不改變文件內的命令?儘可能多,它是一個配置文件,我希望穿越各種shell。 – jasonline 2010-10-08 15:30:52