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

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 01 November 2003 02:37 pm, Chris Hill wrote:
> 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.

Alternatively,  use the explicate path with the name of the script.
for example:

/usr/home/mayname/scripts/scriptname


>
> --
> Chris Hill               chris@monochrome.org
> **                     [ Busy Expunging <|> ]
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"

-- 

Best regards,
                 Chris
______________________________________________________________________

PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363

PGP Mail encouraged / preferred - keys available on common key servers
______________________________________________________________________
       01010010011000010110001101100101011100100101100000000000




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