10 lines
127 B
Bash
Executable File
10 lines
127 B
Bash
Executable File
#!/bin/sh
|
|
IFS=:
|
|
for dir in $PATH
|
|
do
|
|
for file in "$dir"/*
|
|
do
|
|
test -x "$file" && echo "${file##*/}"
|
|
done
|
|
done | sort | uniq
|