Path debugging
Tag: ONE-LINER
Edit Created: 2020/7/20
Updated: 2020/7/20
Bash
# On unix
echo "$PATH" | tr ':' '\n'
# On Windows cygwin/git bash
echo "$PATH" | tr ';' '\n'
Python in cmd
REM Python on windows
python -c "import os; print(os.environ['PATH'].replace(';', '\n')]))"