[Inschool] script execution?

Bruce Smith inschool@kalamazoolinux.org
11 Jul 2003 11:26:18 -0400


> How the heck do I run my script that I have created????
> 
>  I have created a script file called "addaccts.sh " how do get it to
> run from the command line?

First, the permissions have to be executable for your user.
i.e.  To make executable for everyone:

  chmod a+rx addaccts.sh

Next, the script has to be in your $PATH, or you have to specify
the absolute path name in the command:  i.e.

  /home/myuser/addaccts.sh

Or the relative path in the command:  i.e.

  ./addaccts.sh

--------------------------------------------
Bruce Smith                bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan  49093  USA
http://www.armstrong-intl.com/
--------------------------------------------