Hi,
I was trying to setup OPENMC_CROSS_SECTIONS as environment variable by editing the .bashrc file in KALI LINUX.
Now, when I used the
echo $OPENMC_CROSS_SECTIONS
command in the terminal after saving the bashrc file, it doesn’t display the path of the cross-section.
I tried to use the $printenv command to list all the environment variables but OPENMC_CROSS_SECTIONS was missing from that list. Any solution on how to deal with this?
Thank you!
You need to either exit your terminal and re-open, or source
your ~/.bashrc
file in your current session
Thank you @andrewjohnson. I actually tried exiting the terminal and restarted the computer. The problem still persists.
Thanks to @Pranto.
The recent versions of Kali use .zshrc as the login profile. Adding the environmental variable path to that solved the whole thing.