Redian新闻
>
what rcfile does sys use when login?
avatar
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
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。