[root@iZwz9bpgupcehi7r19i7uaZ ~]# source /etc/vimrc
-bash: /etc/vimrc: line 15: syntax error near unexpected token "autocmd"' -bash: /etc/vimrc: line 15:
if has(“autocmd”)’
Solution:
/etc/vimrc No need for source at all
Read More:
- Ubuntu shell Script syntax error near unexpected token `$‘{\r‘‘
- [Solved] Bash: Syntax error: redirection unexpected
- Running shell script reports an error: “syntax error near unexpected token solution ‘”
- [Solved] Ubuntu Server 18.4 System /etc/sudoers: syntax error near line 32
- Shell Script syntax error near unexpected token `done’
- [Solved] Linux shell Script Error: syntax error near unexpected token `do
- [Solved] shell Error: Syntax error: “(“ unexpected (expecting “}“)
- [Solved] Error detected while processing /root/.vimrc: E492: Not an editor command: Plug ‘scrooloose/nerdtree’
- [Solved] Shell error: syntax error: unexpected end of file
- Mac opens Terminal and reports an error -bash:: command not found
- [Solved] yum command Error: “except keyboardinterrupt, e: syntax error: invalid syntax”“
- [Solved] source /etc/profile Error: not a valid identifier
- -bash: sqlplus: command not found [How to Solve]
- [Solved] keystone Install Error: Failed to parse /etc/keystone/keystone.conf: at /etc/keystone/keystone.conf:687
- How to Solve Linux Error: -bash: unzip: command not found
- [Solved] Failed to execute/bin/bash: resource temporarily unavailable
- MAC Adb Shell Error: -bash: adb: command not found, adb
- [Solved] shc -f xxx.sh shc: invalid first line in scrip
- Linux Install Bee and Execute Error: bash: bee: command not found
- Error in Linux running file: bash: $’\r’: command not found