LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-10-2011, 07:41 AM   #1
ghasem
LQ Newbie
 
Registered: Jan 2011
Posts: 1

Rep: Reputation: 0
writing a shell script for running a package from IRAF.


Hi
can you help me to write a script please?
I want to run gallist pkge from iraf for several times..
The step for running that is:>xgterm &
>ecl &
ecl>noao
noao>artdata
artdata>epar gallist (I set some parameter) then by writing gallist iraf terminal the pkge is run:
artdata>gallist
I want this pkge is run for 1000 time and all output result are collected in only one file.
thanks

Last edited by ghasem; 01-10-2011 at 08:09 AM.
 
Old 01-11-2011, 01:08 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello and Welcome to LinuxQuestions,

Of course we can help you with your script, no problem whatsoever, but help means you'll have to put in the big part first and tell us what you already have and where it's failing or what's missing. Also it's always a good idea to mention your platform (distro, version). So post what you already have and we'll take it from there. You say shell script, are you referring to Bash, Korn, ...? Do you already know the basics of a scripting language?

Kind regards,

Eric
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help Writing a Package Script binarybob0001 Programming 7 10-31-2007 05:43 AM
Help writing a shell script! smoothdogg00 Programming 5 04-26-2006 11:15 AM
[SOLVED] Writing a shell script mattz40 Debian 5 04-13-2005 06:56 PM
shell script writing ust Linux - General 6 01-24-2005 01:06 PM
help writing shell script np complete Linux - Newbie 6 08-30-2004 09:43 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration