• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 349
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

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