Solved

freebsd, how to find out of an executable

Posted on 2011-02-17
2
276 Views
Last Modified: 2016-02-10
For example, need to know where executable "host"
0
Comment
Question by:rgbcof
2 Comments
 
LVL 9

Accepted Solution

by:
jeremycrussell earned 125 total points
ID: 34921821
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
 

Author Closing Comment

by:rgbcof
ID: 34922196
excellent.  Thank you.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now