piku
03-06-2006, 03:16 AM
Getting the following error message when I SSH to the system:
: command not found
-bash: /home/user/.bash_profile: line 14: syntax error: unexpected end of file
Am I missing something here. Here's my .bash_profile and .bashrc (system defaults)...
.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
.bashrc
# .bashrc
# User specific aliases and functions
alias cp='\cp -i'
alias ll='\ls -l'
alias mv='\mv -i'
alias rm='\rm -i'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
: command not found
-bash: /home/user/.bash_profile: line 14: syntax error: unexpected end of file
Am I missing something here. Here's my .bash_profile and .bashrc (system defaults)...
.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
.bashrc
# .bashrc
# User specific aliases and functions
alias cp='\cp -i'
alias ll='\ls -l'
alias mv='\mv -i'
alias rm='\rm -i'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi