diff options
Diffstat (limited to 'swenu-path.sh')
| -rwxr-xr-x | swenu-path.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/swenu-path.sh b/swenu-path.sh new file mode 100755 index 0000000..a720d5c --- /dev/null +++ b/swenu-path.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +IFS=: +for dir in $PATH; do + [ -e ${dir} ] && find ${dir} -executable -printf '%f\n' +done | sort -u |
