Pinned & Latest Posts

View all
justpath to explore PATH quickly

I always get the feeling that nobody knows what a PATH is and at this point they are too afraid to ask.

In those rare cases you want see what kind of a mess your PATH variable is, what tools can you use? Print to screen with bash, split by line, maybe sort for visibility, inspect specific set of folders. What is you wanted to do the same on Windows, do you have to remember which operating system has which separator on PATH? Also are there duplicates or non-existing directories on PATH?