Environment variables
The only thing I really need to know is that this command displays all of them from the current session:
env<del></del>
But I guess I’ll write down some other stuff too.
The ‘export‘ command makes a variable available to any children of the current session. That’s the only real reason that it should be used. Otherwise you can prepend to the path for instance using:
PATH=/home/myself/bin/:$PATH
You can unset variables using the ‘unset‘ command