Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-20-2007, 08:10 PM   #1
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, 08:23 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
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.

Old 05-20-2007, 09:42 PM   #3
Registered: Sep 2006
Posts: 57

Original Poster
Rep: Reputation: 15
I am running Fedora Core 6.
Old 05-20-2007, 09:45 PM   #4
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.


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

All times are GMT -5. The time now is 07:49 PM.

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