/ Published in: Bash
Prints path with each directory on a new line.
Source: http://www.cyberciti.biz/faq/howto-print-path-variable/
Source: http://www.cyberciti.biz/faq/howto-print-path-variable/
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function path(){ old=$IFS IFS=: printf "%s\n" $PATH IFS=$old }