bash: su - changes directory to /root
hello,
in bash, whenever i do: >su root the directory changes to /root but i would like to keep the same directory i had (like /home/something) before the 'su root.' i looked at the shell variables but i don't see any for that specific reason. which one is it? TX |
use :
Code:
su -m |
thanks :)
|
All times are GMT -5. The time now is 03:44 AM. |