小编GMa*_*han的帖子

bash:来源:找不到命令

当我打开终端时,我不断收到以下错误。我正在运行 Fedora 19。

bash:来源:找不到命令

当我尝试登录时,上述错误还导致我的屏幕变为空白。然后我通过 .bashrc 和 .bash_profile 文件重命名,系统运行良好。所以看起来问题可能出在这些文件之一上,但我不知道它是什么。

这是我的 bashrc 和 bash_profile 文件:

[gmahan@localhost ~]$ cat .bashrc
# .bashrc

[ -z "$PS1" ] && return

Source global definitions
if [ -f /etc/bashrc ]; then
    . /etc/bashrc
fi

# User specific aliases and functions

[gmahan@localhost ~]$ cat .bash_profile
# .bash_profile

# Get the aliases and functions
if [-f ~/.bashrc]; then
    . ~/.bashrc
fi

# User specific environment and startup programs
Run Code Online (Sandbox Code Playgroud)

谁能告诉我可能是什么问题。谢谢。

bash

0
推荐指数
1
解决办法
3618
查看次数

标签 统计

bash ×1