what rcfile does sys use when login?# Unix - 噫吁兮,危乎高哉
b*l
1 楼
i am wondering what the system will use to set the variables, such as HOST,
LOGNAME, and so on?
~/.bashrc will set user-defined variables. But what rcfile does the system use
before invoking ~/.bashrc?
Another question is: after I login, I want to set a variable VAR to "VAR", for
exampel. And I want the other login shells know that $VAR now is set to
"VAR". Is this possible?
One more question: xhost + [host] will add "host" to a list. Is this list a
variable or the list is stored in a file? Whi
LOGNAME, and so on?
~/.bashrc will set user-defined variables. But what rcfile does the system use
before invoking ~/.bashrc?
Another question is: after I login, I want to set a variable VAR to "VAR", for
exampel. And I want the other login shells know that $VAR now is set to
"VAR". Is this possible?
One more question: xhost + [host] will add "host" to a list. Is this list a
variable or the list is stored in a file? Whi