Thread: tcpdump package
View Single Post
  #7   (View Single Post)  
Old 30th March 2009
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
Join Date: May 2008
Location: USofA
Posts: 1,546

If you want to know if a commands ready to execute in your shell, use type or which. If the systems configured for it, the locate and whereis commands might also be suitable for fighting installed programs that might not be in your path:

Terry☺@vectra☺$☺ type tcpdump
tcpdump is /usr/sbin/tcpdump
Terry@vectra$ which tcpdump
Terry@vectra$ locate tcpdump
Terry@vectra$ whereis tcpdump
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote