Linux PATH environment variable

[Linux PATH environment variable]

PATH environment variable

PATH environment variable </ strong> is a variable that holds the path of the command you want to use.

When the command is executed, it is searched based on the location registered in the PATH environment variable, and it is executed when the file is applicable.

-Which command

Finds in which directory the specified command is stored based on the directory path specified in the PATH environment variable. → The specified command is displayed with the full path

・ Find command

Specify a specific directory to search for files and directories → It is also possible to search for commands other than the directory specified in the PATH environment variable.

Recommended Posts

Linux PATH environment variable
Arrange the dirty environment variable PATH
Linux environment construction
[Linux] About PATH
[Linux] Pass through PATH
[C language] [Linux] Get the value of environment variable
About Linux environment construction (CentOS)
SSH restrictions in Linux environment
What are environment variables? (Linux)
First LAMP environment construction (Linux)
Linux environment construction (on WSL environment)
DL Laravel environment construction method (Linux)
Prepare pipenv environment with amazon Linux 2
Touch AWS Lambda environment variable support
(Windows10) Install Linux environment and gnuplot.
About Linux environment construction (VMware VirtualBOX)
Environment
Create a Linux environment on Windows 10
Linux
[Linux] Docker environment construction on Redhat
Introduce Python 3.5.2 environment on Amazon Linux
Automate CircleCI environment variable registration in Go
Building a Python3 environment with Amazon Linux2
Set the environment variable PYTHONPATH on zsh
[Linux] Build a jenkins environment with Docker
Install rJava on Linux in R3.6 environment.
[Linux] Build a Docker environment with Amazon Linux 2