An introduction to Linux Environmental Variables with demonstrations on an Ubuntu 22.04 Virtual Machine.
00:00 Introduction
00:44 What is an Environmental Variable
03:29 What are the Basic Characteristics of an Environmental Variable
05:23 Commands to List Environmental Variables
08:21 Create and Delete Environmental Variables
09:43 What is a Shell Variable
12:56 Make a Shell Variable Permanent
18:57 Summary
Additional Info:
Environment Variables https://help.ubuntu.com/community/EnvironmentVariables
How to list all variables names and their current values? https://askubuntu.com/questions/275965/how-to-list-all-variables-names-and-their-current-values/356973#356973
How to Set, List and Manage Linux Environment Variables- https://www.cherryservers.com/blog/how-to-set-list-and-manage-linux-environment-variables#:~:text=and%20manage%20them.-,What%20are%20Linux%20Environment%20Variables%3F,defined%20in%20the%20SHELL%20variable
Setting PATH variable in /etc/environment vs. .profile- https://askubuntu.com/questions/866161/setting-path-variable-in-etc-environment-vs-profile#:~:text=%2Fetc%2Fenvironment%20is%20a%20system,user's%20personal%20shell%20initialization%20scripts
What is the difference in usage between shell variables and environment variables? https://unix.stackexchange.com/questions/363525/what-is-the-difference-in-usage-between-shell-variables-and-environment-variable