Re: simple bash script
Re: simple bash script
- Subject: Re: simple bash script
- From: James Stroud <email@hidden>
- Date: Thu, 21 Oct 2004 15:33:47 -0700
- Organization: University of California
Here is the script (called "program"), everything BETWEEN BUT NOT INCLUDING
the dashes:
---
#! /bin/bash
# change above to reflect path to bash
echo This here be my program.
--
now, at the shell prompt:
prompt> chmod a+x program
prompt> ./program
This here be the output you expect:
This here be my program.
James
On Thursday 21 October 2004 03:11 pm, Jacob Chapa wrote:
>
could someone please show me a simple bash script (such as moving or
>
renaming a file). I am not sure what extension the file should have or
>
how to make it execute
>
>
thanks
>
-jake
>
>
_______________________________________________
>
Do not post admin requests to the list. They will be ignored.
>
Cocoa-dev mailing list (email@hidden)
>
Help/Unsubscribe/Update your Subscription:
>
>
This email sent to email@hidden
--
James Stroud, Ph.D.
UCLA-DOE Institute for Genomics and Proteomics
611 Charles E. Young Dr. S.
MBI 205, UCLA 951570
Los Angeles CA 90095-1570
http://www.jamesstroud.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden