(no subject)

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bryce C
Date:  
New-Topics: PATH for scripts (was no subject), learning script
Subject: (no subject)
--=-OMY+e5tFZTbsYtwLBDAT
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

./dw
Also, check your $PATH to see if your pwd is in it.
echo $PATH

On Sun, 2004-01-18 at 13:38, Michael Havens wrote:
> I am teying my hand at writing a basic script.
>=20
>     :
>     # @(#)dw -- <text> --
>     #
>     date
>     who -u
>=20
> So I type it in and then chmod  760 and after I try to execute it, it tel=

ls=20
> me:
>=20
>     command not found
>=20
> but it works if I 'sh dw' or 'sh<dw' any idea what's wrong? The current p=

ath=20
> is ~ and that is where the script is and I think that directory is search=

ed=20
> first so there is no need for $PATH to be accessed.

--=20
Bryce C <>
CoBryce Communications

--=-OMY+e5tFZTbsYtwLBDAT
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBACu8q/wbq/C6yyPcRAlCVAKCzfISOxn30Que0Nn3DMJMJUS5ZRACdEO7Y
uD+dtkYigkwSn0UPh/HmwiQ=
=fAnY
-----END PGP SIGNATURE-----

--=-OMY+e5tFZTbsYtwLBDAT--