1.0.4 • Published 3 years ago
findp v1.0.4
whichs
screenshot

description
whichs is a command line tool to find files in $PATH, like the shell built-in commands which, but which only returns the first result while whichs returns all.
install
I want to use the
whichsfor npm package name, but while I publishing it, I got 404 error and it wasted me an hour to find out that it's not an authToken issue, you just can not use thewhichsname😅
npm i findp -gusage
# find all excutable files(or link) in $PATH named node
whichs node
# find all files(or link) in $PATH named node
whichs node -anotice
whichsdoes not return shell built-in commands likecd- if
whichsfinds a link, it will print something like
/path/to/link -> /path/to/real/file