Linux add to $PATH: Fix "command not found" error (Linux & Mac)

Veröffentlicht am: 29 März 2018
auf dem Kanal: Seeker Labs
132,487
850

Linux add to path. Understand the "Command Not Found" error.
https://truthseekers.io/lessons/linux...

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 ============

Visit Our Website: https://truthseekers.io

Follow us on FaceBook:   / truthseekers.io  

========================


Auf dieser Seite können Sie das Online-Video Linux add to $PATH: Fix "command not found" error (Linux & Mac) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Seeker Labs 29 März 2018 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 132,487 Mal angesehen und es wurde von 850 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!