9 lines
123 B
Bash
Executable file
9 lines
123 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 -u
|