I have a linux script job that is made up of 7 scripts in total to complete the job.
There are about 60 Variables defined at the start of each script.
These variables will be constant & identical in each of the 7 scrips.
The problem I have is that when I am working on the scripts, I have to copy paste all variables to all scripts each time I update or modify variable(s)
I'm working on a kernel module. My team and I (it's a class project) are trying to find useful kernel variables and pass them to userspace. The problem is, there's literally 1000 or so kernel variables and not enough documentation on kernel variables.
I have a user XX and I want to set the env variables for it. I looked for .bash_profile in the home dir but there was none. SO, I tried with .bashrc, but when I try to see the env variables (printenv), my variables are not there. This is killing me. I tried for root, and it works. But it does not work for user XX.