Hi Im running linux angstrom distribution on a remote device, I added .bash_profile and .bashrc to /home/root since they didn’t exist and I wrote this in them
PATH=/opt/qt-arm/lib:$PATH
export PATH
But now when I login to this device and type $PATH I don’t see the newly added path…Any Ideas??
Look in
/etc/passwdto check whether/home/rootis actully root’s home directory. On most linux distributions, it is just/root, not/home/root.Update in response to comments:
.bash_profileand.bashrcare only inspected if the user’s shell isbash. You can see what root’s shell is in/etc/passwd.