How do I show path variable in Linux?
Answer
Display your path environment variable.
You can use
echo $PATH
to find which directories your shell is set to check for executable files. To do so: Type echo $PATH at the command prompt and press ↵ Enter . This output is a list of directories where executable files are stored.
Answer
Display your path environment variable.
You can use
echo $PATH
to find which directories your shell is set to check for executable files. To do so: Type echo $PATH at the command prompt and press ↵ Enter . This output is a list of directories where executable files are stored.