Print value of `$PATH` in readable format
Posted on 10 Aug, 2021
# for bash
# for zsh omit the $ char
Substitute all occurrences of ":" in
$PATHwith a newline "\n"
$'...'way of quoting a string allows us to use special characters such as tab () safely.
Last modified 1yr ago