I apologize for the simplicity of this question, the answer to which is probably going to be as simple.
I made an entry in
Yes, I verified that my shell is sh:
I made an entry in
/root/.shrc for an alias like la='ls -alh'. Once I source this file, it does work. However, I have to source this file every time I su to root via ssh. I need this alias to be recognized in that scenario without having to source the /root/.shrc file. What am I missing?Yes, I verified that my shell is sh:
Code:
# echo $SHELL
/bin/sh