LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-14-2012, 04:38 AM   #1
tamberahul.123@gmail.com
LQ Newbie
 
Registered: Feb 2012
Posts: 1

Rep: Reputation: Disabled
recurring script


how can i create a script file...which calls itself...?
calling must be FINITE times..am using cent os..
 
Old 03-14-2012, 05:21 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,245

Rep: Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684Reputation: 2684
Why is it any different that calling one script or command from a script?
 
Old 03-14-2012, 10:31 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,921

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by tamberahul.123@gmail.com View Post
how can i create a script file...which calls itself...?
calling must be FINITE times..am using cent os..
That would be through using a loop, with a counter. Both very well documented in any of the THOUSANDS of bash scripting tutorials. Have you checked any of them, or done/tried anything to write this? Show us what you've done, and we can help.

However, this sounds very much like homework...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
No response on LKML about recurring panic...now what? Kourosh Linux - Kernel 3 10-20-2011 08:14 PM
recurring system lockup with kde Phieth6o Linux - Laptop and Netbook 2 02-18-2009 01:22 PM
recurring hard drives woes king111 Linux - Hardware 1 07-29-2005 08:20 PM
Recurring cold boot failures Nobber Linux - Hardware 2 04-15-2005 11:25 AM
recurring ext3 error jkobrien Linux - General 13 04-26-2004 12:57 PM


All times are GMT -5. The time now is 02:46 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration