LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 05-20-2007, 07:10 PM   #1
jCash
Member
 
Registered: Sep 2006
Posts: 57

Rep: Reputation: 15
Running Script on Startup


Linux question regarding how to start several scripts, in order as first one completes ftp download to remote machine and then second one start. I want to have these script run as soon as the computer turns on.
Some of these scripts have to run under root.
 
Old 05-20-2007, 07:23 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
That'll depend on your distro. In that context: it's always a
good idea to fill in your profile.

In slack you can use /etc/rc.d/rc.local for this kind of thing.



Cheers,
Tink
 
Old 05-20-2007, 08:42 PM   #3
jCash
Member
 
Registered: Sep 2006
Posts: 57

Original Poster
Rep: Reputation: 15
I am running Fedora Core 6.
 
Old 05-20-2007, 08:45 PM   #4
slimm609
Member
 
Registered: May 2007
Location: Chas, SC
Distribution: slackware, gentoo, fedora, LFS, sidewinder G2, solaris, FreeBSD, RHEL, SUSE, Backtrack
Posts: 430

Rep: Reputation: 67
in fedora its /etc/rc.local

every version of linux that uses system V init has an rc.local file. ( which is almost every distro) it is just a matter of where they place it.
 
  


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
Problems in running a script as a daemon at startup fahad26 Programming 5 03-07-2012 07:24 AM
Running a bash script at startup linker3000 Linux - Software 2 05-17-2007 10:00 PM
running .pl script on startup knowram Other *NIX 2 03-09-2007 09:50 PM
Running Perl Script upon startup andy7t Linux - Software 1 04-20-2005 04:43 PM
Running a script at systsem startup logo Linux - Newbie 1 09-21-2004 02:29 PM


All times are GMT -5. The time now is 06:26 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