adding PATH variable

Hello

i use bash and i added a path variable for 2 files /rscr and /uscr in /etc/profile

/rscr working fine but the other one shows command not found
and when i try to type whereis for scripts in /rscr it shows them but the other one shows nothing... thanks :b:

$ echo $PATH

You must see your path in screen.

also check this

cat ~/.profile |grep PATH

PATH=/sbin:/bin:/usr/sbin; export PATH

PS: You must execute "export PATH"

echo $PATH

/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/uscr

cat ~/.profile |grep PATH

PATH=$PATH:/usr/uscr:/usr/rscr; export PATH

see on $PATH it doesn't show /usr/rscr but with cat ~/.profile |grep PATH .. its there! im confused :confused:

try this in your shell

PATH=$PATH:/usr/uscr:/usr/rscr; export PATH; echo $PATH