• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: simple bash script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >simple bash script (From: Jacob Chapa <email@hidden>)

  • Prev by Date: Re: Bug in NSArrayController? (immutable instead of mutable dictionaries)
  • Next by Date: Re: NSXMLParser question
  • Previous by thread: simple bash script
  • Next by thread: mainmenu in nib file
  • Index(es):
    • Date
    • Thread