aboutsummaryrefslogtreecommitdiff
path: root/swenu-path.sh
diff options
context:
space:
mode:
authorRiley Beckett <rbeckettvt@gmail.com>2025-10-18 13:58:08 -0400
committerRiley Beckett <rbeckettvt@gmail.com>2025-10-18 13:58:08 -0400
commit6093d0bc24fb4a89873b6f68ce3f3ad1958bdde0 (patch)
tree57c417c89ff1ddd03a005ca66cf889abfd9b33a5 /swenu-path.sh
parenteb62e6d21d6492d6e7d4894bd0298ad85c0b8a0a (diff)
add verbose
Diffstat (limited to 'swenu-path.sh')
-rwxr-xr-xswenu-path.sh6
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