小编Chi*_*ill的帖子

bash 正在寻找丢失的 ' " ' ,意外的 EOF

我有 bash 问题,它正在寻找丢失的字符,但我找不到它。也许还有其他问题?

每次打开终端时都会出现此错误:

bash:/home/chill/.bashrc:第 132 行:寻找匹配的“”时出现意外 EOF

.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 setting history …
Run Code Online (Sandbox Code Playgroud)

command-line bash bashrc

4
推荐指数
2
解决办法
4万
查看次数

标签 统计

bash ×1

bashrc ×1

command-line ×1