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,547
Default

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:

Code:
Terry☺@vectra☺$☺ type tcpdump
tcpdump is /usr/sbin/tcpdump
Terry@vectra$ which tcpdump
/usr/sbin/tcpdump
Terry@vectra$ locate tcpdump
/usr/sbin/tcpdump
/usr/share/man/cat8/tcpdump.0
Terry@vectra$ whereis tcpdump
/usr/sbin/tcpdump
Terry@vectra$
__________________
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