我刚刚在我的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