When I log in, appears the following error:
-bash: /etc/profile: line 1: syntax error near unexpected token ('
Inside the file there is the next code:
n# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))\n
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).\n\nif
[ -d /etc/profile.d ]; then\nfor i in /etc/profile.d/*.sh; do\nif [ -r $i ];
then\n. $i\nfi\ndone\nunset i\nfi\n\nif [ "$PS1" ]; then\nif [ "$BASH" ];
then\nPS1=u@h:w$ \nif [ -f /etc/bash.bashrc ];
/etc/bash.bashrc\nfi\nelse\nif [ "id -u
" -eq 0 ];
then\nPS1=# \nelse\nPS1=$ \nfi\nfi\nfi\n\numask
I've searched around on internet but I didn't find something understandable or that matches with my problem (I think), how could fix this, it seems not to trouble anything with the computer, but I'd like to know what it's going on.