Monday, April 6, 2015

bash - Environment variables on Linux-like systems

How to set environment variables for a user in most generic way that is independent of shell environment variables (like profile for Bourne-like shells, bahsrc, zshrc, zshenv, ..)?
The idea is to set environment variables for a user during user login and make them available (forked) for any process (spawned not only by shell process, but rather by any other process) including any kind of shell?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...