Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Describe all Unix apps in current PATH' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Describe all Unix apps in current PATH
Authored by: adrianm on Jan 09, '07 08:40:17AM
Not *exactly* equivalent, but surely this is a lot quicker and simpler?

man -k 1
(ie show all commands in section 1 of the manual)

For me, this returns 1091 items compared to 1221 from:

find ${PATH//:/ } -type f -print0 | xargs -0 basename | sort | uniq
so perhaps good enough.

~/.sig: not found

[ Reply to This | # ]