Simple trick to use terminal window to see all PATH variable.

If you’re having trouble reading the directories in the $PATH variable, you can make use of the tr command to replace the colons with the newline characters so each directory is displayed on a single line.

$ echo $PATH | tr “:” “\n”

Here is an example.

Image preview

Leave a Reply

Your email address will not be published. Required fields are marked *

WP2Social Auto Publish Powered By : XYZScripts.com