From owner-freebsd-questions Tue Nov 4 21:41:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA13900 for questions-outgoing; Tue, 4 Nov 1997 21:41:02 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from css.tuu.utas.edu.au (acs@css.tuu.utas.edu.au [131.217.115.65]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA13894 for ; Tue, 4 Nov 1997 21:40:57 -0800 (PST) (envelope-from andrew@ugh.net.au) From: andrew@ugh.net.au Received: from localhost (acs@localhost) by css.tuu.utas.edu.au (8.8.5/8.8.5) with SMTP id QAA09420; Wed, 5 Nov 1997 16:40:39 +1100 (EST) X-Authentication-Warning: depravitas.tuu.utas.edu.au: acs owned process doing -bs Date: Wed, 5 Nov 1997 16:40:39 +1100 (EST) To: yama-ko cc: The FreeBSD Questions List Subject: Re: question In-Reply-To: <199711050438.NAA27590@mx2.nisiq.net> Message-ID: X-Meaning-of-Life: none X-WonK: *wibble* MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 5 Nov 1997, yama-ko wrote: > I can compile programs with C , but I cannot execute them . Why ? > %a.out > a.out : cannot found command > % the problem is FreeBSD cant find the command as it isnt in your path. You can specify the full pathname to the file but what is probably easier is a relative pathname ie try executing ./a.out Andrew