.bashrc syntax error: unexpected end of file

前端 未结 8 727

I am getting an unexpected end of file error. I am not really sure how to fix it.

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


        
8条回答
  •  情歌与酒
    2021-01-05 15:28

    I had the same issue because i made some changes in my .bashcr file and messed up the terminal. Follow command fixed my issue:

    ecp /etc/skel/.bashrc ~
    

提交回复
热议问题