Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2002 19:27:43 -0500 (EST)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        Anonymous - Mike <anonymous@datawest.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Running binary
Message-ID:  <Pine.SOL.4.21.0202111925340.8654-100000@opal>
In-Reply-To: <NBBBLOJEOIEAIJHPDKBPKEKGFCAB.anonymous@datawest.net>

next in thread | previous in thread | raw e-mail | index | archive | help

If your binary is named as abc,  try this command:

$ where abc

Then find out if the abc is in your search path.  If you have a copy of
abc somewhere else and you want to run the local copy of abc, use ./abc.

-Zhihui

On Mon, 11 Feb 2002, Anonymous - Mike wrote:

> Hi,
> 
> How do you run a binary from the directory it resides in?  Do you have to
> prepend a . or / or something?
> 
> Mike
> ===========================================
> This is my real email for lists and USENET
> For an eye-opener - http://www.copernic.com
> Search on:  full name + company name
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.21.0202111925340.8654-100000>