I would like to list all commands available in
Any idea ?
Here is a quick onliner that will complete the task as long as you have the rights to view the folders.
for pathitem in $(echo $PATH | sed -e 's/:/ /g'); do echo $pathitem; ls -la $pathitem; echo ""; done
This code will also display the path above the listing and a space underneath it, similar to completing a