for d in $(echo $PATH | tr ':' '\n'); do find $d -type f; done #### ssh you.remote.host "for d in \$(echo \$PATH | tr ':' '\n'); do find \$d -type f; done"