-bash: /root/.bash_profile: line 1: syntax error near unexpected token `(' -bash: /root/.bash_profile: line 1: `whatismyip() {' whatismyip() { wget -qO - checkip.dyndns.org | perl -ne 'print if s/^.*Current IP Address:\s*([0-9.]*).*/$1/'; };