From owner-freebsd-isp Mon Jun 30 17:21:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA24563 for isp-outgoing; Mon, 30 Jun 1997 17:21:20 -0700 (PDT) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA24548 for ; Mon, 30 Jun 1997 17:21:13 -0700 (PDT) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.5/8.6.9) with ESMTP id RAA23678; Mon, 30 Jun 1997 17:20:50 -0700 (PDT) To: marcin@v-m.com cc: freebsd-isp@FreeBSD.ORG Subject: Re: Scripts and Programs In-reply-to: Your message of "Mon, 30 Jun 1997 15:04:48 CDT." <33B81160.6F3E@v-m.com> Date: Mon, 30 Jun 1997 17:20:50 -0700 Message-ID: <23674.867716450@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > When runnig the program written in C I compile that code using CC and > then to run it I have to type in ./a.out ? Why do I have to do it this > way why I can't execute the program like on my normal Unix Account just > by typing in the a.out ...???? This is something for questions@freebsd.org, not isp@freebsd.org. Thanks. And the reason is because you don't have . in your PATH. This is a common newbie problem and discussed in any number of UNIX guides, a number of which are listed in the appendix of http://www.freebsd.org/handbook - I suggest you visit this page and many an appropriate purchase. > One more question....I would like to run a specific program every 30 > minutes is there a easy way to do this in FreeBsd OS? See the man pages for at and cron. And again, these are both basic UNIX questions which would be better answered by a suitable book. Jordan