bash - Redhat linux .bash_profile: line 12: syntax error: unexpected end of file -


i use redhat linux , problem: .bash_profile: line 12: syntax error: unexpected end of file .bashrc

# .bashrc  # user specific aliases , functions  export java_home=/usr/lib/jvm/jdk1.6.0_45 export jre_home=/usr/lib/jvm/jdk1.6.0_45/jre export path=$path:/usr/lib/jvm/jdk1.6.0_45/bin:/usr/lib/jvm/jdk1.6.0_45/jre/bin  alias rm='rm -i' alias cp='cp -i' alias mv='mv -i'  # source global definitions if [ -f /etc/bashrc ]; . /etc/bashrc fi 

and bash_profile

# .bash_profile  # aliases , functions if [ -f ~/.bashrc ]; . ~/.bashrc fi  # user specific environment , startup programs path=$path:$home/bin  export path 

could tell me how fix problem? thanks


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -