ubuntu print path 1

ubuntu print path

echo "$PATH"

Here is what the above code is Doing:
1. We’re using the echo command to print the value of the PATH variable.
2. We’re using the $ symbol to tell the shell to substitute the value of the variable.

Similar Posts