Return to Snippet

Revision: 46742
at May 24, 2011 12:25 by bethjt1220


Initial Code
function path(){
    old=$IFS
    IFS=:
    printf "%s\n" $PATH
    IFS=$old
}

Initial URL

                                

Initial Description
Prints path with each directory on a new line.
Source:  http://www.cyberciti.biz/faq/howto-print-path-variable/

Initial Title
Bash Print Path

Initial Tags

                                

Initial Language
Bash