The concept of a variable is very common in any programming language - it is a temporary storage of some information. Command shells are no exception, they can store variables in the same way, both local and global, which are also called environment variables. In this video, we will pay special attention to such an environment variable as PATH, thanks to which, in principle, unix operating systems search for and execute any commands we enter. We will also touch on the topic of how to make changes to environment variables permanent.
Link to all my courses:
https://taplink.cc/denis.dmdev
To subscribe to the channel, click the link:
/ dmdev
00:00 - Introduction
00:17 - How to create local variables
01:42 - String interpolation
02:18 - Environment variables. Commands export, printenv
04:42 - Environment variable PATH
08:42 - How to change environment variable permanently