Hi, --- On Wed, Jan 12, 2011 at 12:30 PM, Nilesh Govindarajan <[email protected]> wrote: | cmdlist=$(echo /bin/${ch}* /usr/bin/${ch}* /sbin/${ch}* /usr/sbin/${ch}*) \--
What about /usr/local/bin, /usr/local/sbin, and other bin* defined in
PATH? If you use the above, you should search for {ch}* in each
directory defined in PATH.
SK
--
Shakthi Kannan
http://www.shakthimaan.com
--
l...@iitd - http://tinyurl.com/ycueutm
