每当我打开一个新终端时,我都会收到此错误:
$: command not found
sandeep@sandepp:~$
Run Code Online (Sandbox Code Playgroud)
它照常工作没有任何问题,但为什么它会在顶部显示该消息?我的笔记本电脑有 Ubuntu 14.04。
我的~/.bashrc文件:
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it
shopt -s histappend
# for …Run Code Online (Sandbox Code Playgroud)