Question: How to print the environment values?
printenv
OR
env
Question: How to SET the environment values For Korn shell (KSH)?
var=value export varname
Question: How to SET the environment values For Bourne shell (sh and bash)?
export var=value
Question: How to SET the environment values For C shell (csh or tcsh)?
setenv var value
Question: What is .bashrc?
.bashrc is a shell script that Bash runs whenever it is started interactively.
Question: Can we set the environment value in .bashrc?
Yes, you can set the value in this also. like below
export PATH="$PATH:/some/addition"