> 
> richard winter writes:
> > hi all...
> > can anyone tell me 
> > how do I initiate a script under bsd unix?
> > 
> 
>    From the command prompt, you should just be able to type its name. 
> Assuming the script is in your PATH, something like this shojld do this
> trick:
> 
>      % myscript

     Well, there are two ways.  You can explicitly execute it thusly:


      sh mysript

    Or, you can mark it as executable, so that you don't need to specify a
shell interpriter each time.

    chmod 700 myscript
    
    then, put it in a directory that is in your path.  This is often the
bin directory off your home directory.  (If you don't have one, you need
to create it, mkdir bin, and then edit your profile or shell rc script to
include it in the path statement.)

   Having done all that, you should just be able to type the name of the
file, and IF the file has the proper designator at the top, the
appropriate interpritor will be given the script for execution.

     You might consider joining the organization below, or at least
looking them over.

- [EMAIL PROTECTED] -----------------------------
-------- MS asks "Where do you want to go?" -------
------- Linux asks "What do you want to do?" ------
-- It is doers, not goers, who built this world! --
--------- And Linux doesn't get Melissa -----------
       http://www.mall-net.com/melissa.html
--------- Member: http://www.svlug.org/ -----------
____________________________________________________________________
--------------------------------------------------------------------
 Join The NEW Web Consultants Association FORUMS and CHAT:
   Register Today at: http://just4u.com/forums/
Web Consultants Web Site : http://just4u.com/webconsultants
   Give the Gift of Life This Year...
     Just4U Stop Smoking Support forum - helping smokers for
      over three years-tell a friend: http://just4u.com/forums/
          To get 500 Banner Ads for FREE
    go to http://www.linkbuddies.com/start.go?id=111261
---------------------------------------------------------------------

Reply via email to