which is present in /etc . for example if you want to set path for program xyz
which is present in /usr then export PATH=":/usr/xyz"
don't forget to put ":" before /usr/xyz otherwise it will overwrite the path variable
and path variable will no longer have it's original values.