Skip to content

Instantly share code, notes, and snippets.

@sodonnell
Created July 19, 2009 10:55
Show Gist options
  • Select an option

  • Save sodonnell/149884 to your computer and use it in GitHub Desktop.

Select an option

Save sodonnell/149884 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
echo "Total # of files available within your executable PATH: "
for i in `echo $PATH | sed 's/\:/\n/g'`; do ls -a $i; done | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment