how do you get a script to run

Chris Hill chris at monochrome.org
Sat Nov 1 12:37:55 PST 2003


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 at monochrome.org
**                     [ Busy Expunging <|> ]




More information about the freebsd-questions mailing list