我刚刚在我的bash shell中添加了一个.profile.但是,我注意到即使您要更改为有效目录,也会出现错误"-bash:print:commant not found".我的.profile只包含一些导出.
[rob@mypc:/home/rob]cd apps
-bash: print: command not found
[rob@mypc:/home/rob/apps]cd util
-bash: print: command not found
[rob@mypc:/home/rob/apps/util]
Run Code Online (Sandbox Code Playgroud)
任何人都可以指出为什么这个错误继续显示?