After searching, I can't still figure out how to edit $PATH. Now its value is:PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/hduser/hadoop/bin:/home/hadoopuser/hadoop/bin:/home/hadoopuser/hadoop/bin:/home/hadoopuser/hadoop/sbinI would like the one related with hduser to be discarded, since it's wrong and I think bin has a duplicate, should be also discarded.
How to edit $PATH?
bash;environment variables;path