filmov
tv
Linux add to $PATH: Fix 'command not found' error (Linux & Mac)
![preview_player](https://i.ytimg.com/vi/gkqsLRDnqlA/maxresdefault.jpg)
Показать описание
Linux add to path. Understand the "Command Not Found" error.
0:20 - What the $PATH environment variable does
1:18 - Example of using Linux $PATH
1:50 - Command not found error
2:14 - Running command from directory
3:03 - Updating your $PATH variable
4:00 - Append new folder to path
5:15 - Prepend new folder to beginning of path
One of the most important things to understand when installing programs and using your terminal is to know how the $PATH environment variable works on Linux, Mac, and even Windows systems.
In this video we'll show you how to work with your $PATH. In short, the $PATH variable lists all the directories that the computer will look through to try to find a command you've entered in the terminal. If you run a command, and it's not found in any of the folders in your $PATH, then it will throw an error "command not found".
You have several options.
1. Call the command by specifying the location of the executable file.
2. Move the executable file to a folder that's already in your $PATH
3. ADD the proper directory to the $PATH.
============ More Info ============
========================
0:20 - What the $PATH environment variable does
1:18 - Example of using Linux $PATH
1:50 - Command not found error
2:14 - Running command from directory
3:03 - Updating your $PATH variable
4:00 - Append new folder to path
5:15 - Prepend new folder to beginning of path
One of the most important things to understand when installing programs and using your terminal is to know how the $PATH environment variable works on Linux, Mac, and even Windows systems.
In this video we'll show you how to work with your $PATH. In short, the $PATH variable lists all the directories that the computer will look through to try to find a command you've entered in the terminal. If you run a command, and it's not found in any of the folders in your $PATH, then it will throw an error "command not found".
You have several options.
1. Call the command by specifying the location of the executable file.
2. Move the executable file to a folder that's already in your $PATH
3. ADD the proper directory to the $PATH.
============ More Info ============
========================
Комментарии