Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Nov 2003 15:37:48 -0500 (EST)
From:      Chris Hill <chris@monochrome.org>
To:        Gregory Stearns <stearns@mail.com>
Cc:        Free BSD <freebsd-questions@freebsd.org>
Subject:   Re: how do you get a script to run
Message-ID:  <20031101140619.V38378-100000@frambozen.monochrome.org>
In-Reply-To: <20031101181952.37610.qmail@mail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 1 Nov 2003, Gregory Stearns wrote:

> I know I am retarded, how ever I can not get the script I wrote to run
> on Free BSD 4.7.

1) Make sure it has execute permissions set (man chmod)

2) Make sure it's in a directory specified in your PATH variable.
Usually username/bin/ is a good place to put scripts. Alternatively, cd
to the directory where the script is and do a
   ./myscript.sh

HTH.

--
Chris Hill               chris@monochrome.org
**                     [ Busy Expunging <|> ]




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