Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I make certain variables be automatically set upon login ?

0

This depends on which shell you are using. For instance, if your shell is csh, or tcsh, you would include the variable setting lines in your .cshrc file. If you are using sh, or ksh, then the appropriate file to modify would be ~/.profile whereas with bash, you would make the inclusion in ~/.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123