I have used export to change my PATH variable. export not xport, but now every time I open a terminal I get this error:bash: xport: command not found[mirko@localhost ~]$ I tried removing everything I have added in ~/.bashrc, even replacing it with one from /etc/skel. I didn't touched ~/.bash_profile or any other file for this purpose.
bash: xport: command not found
bash;profile
To possibly aid you in hunting down where the problem is, add the following to the top of your .bash_profile and .bashrc files:${BASH_DEBUG:+set -x}${BASH_DEBUG:+trap 'echo ^^ Line: $LINENO ^^' DEBUG}Then in a command shell, run : BASH_DEBUG=1 bash -lto start a login shell, which will use .bash_profile, or without the -l which will read .bashrc. For each line read/processed, you'll get an output of the commands bash executed, and the line number.