• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 342
  • Last Modified:

freebsd, how to find out of an executable

For example, need to know where executable "host"
0
rgbcof
Asked:
rgbcof
1 Solution
 
jeremycrussellCommented:
which <program name>

Will tell you the path to a program that happens to be in your search path

echo $PATH

will show you your search path.

If you need to find something use "find" or on FreeBSD, possibly "locate", however, you'll have to run locatedb if it hasn't been ran and populated the indexes yet.
0
 
rgbcofAuthor Commented:
excellent.  Thank you.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now