1

CentOS 6 | bash_profile giving errors?

view story
linux-howto

http://serverfault.com – I have a .bash_profile, and its giving me an error "Unexpected end of file" I have no clue whats wrong, here it is, # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs export PS1="\u@\h\\$" PATH=$PATH:$HOME/bin export PATH It shows syntax error at line 11. But there is no line 11?... Also, its not setting my ps1, but I'm supposing thats because the unexpected end of file. (HowTos)