TLDR · PROGRAMMING, DESIGN & DATA SCIENCE
JUSTPATH
Summary from the TLDR newsletter
justpath is a utility for exploring the PATH environment variable in both Windows and Linux. It can only view the PATH variable - neither justpath nor any of its child processes can modify the shell PATH directly. justpath provides a modified version of PATH that can later be used in a shell startup script or with an environment manager. It can be used to filter directory names, purge incorrect paths, create new content strings for PATH, dump PATH as JSON, and more.