Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 1997 17:20:50 -0700
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        marcin@v-m.com
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Scripts and Programs 
Message-ID:  <23674.867716450@time.cdrom.com>
In-Reply-To: Your message of "Mon, 30 Jun 1997 15:04:48 CDT." <33B81160.6F3E@v-m.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



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