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