[clug] finding things on the path

Kim Holburn kim.holburn at anu.edu.au
Wed Jan 12 00:46:06 GMT 2005

I was trying to find variants of ping on the path, like: fping and 
hping.  Is there a tool for this?

Eventually I created a little script:

$ more bin/globpath

paths=( $PATH )

ls ${paths[@]/%/\/$1}

globpath '*ping*'

Anyone think of a better way?

Kim Holburn
Network Manager
National Information and Communication Technology Australia
Ph: +61 2 61258620 M: +61 417820641
Email: kim.holburn at anu.edu.au  - PGP Public Key on request
Cacert Root Cert: http://www.cacert.org/index.php?id=16 -> 
Aust. Spam Act: To stop receiving mail from me: reply and let me know.

Use ISO 8601 dates [YYYY-MM-DD] 
Democracy imposed from without is the severest form of tyranny.
                           -- Lloyd Biggle, Jr. Analog, Apr 1961

More information about the linux mailing list