Review your favorite Linux distribution.
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 04-29-2002, 04:34 AM   #1
LQ Newbie
Registered: Apr 2002
Location: London, Uk
Distribution: Mandrake
Posts: 2

Rep: Reputation: 0
Question running 3 progz with 1 command ?


*nix newbie here, just got a quick question, hope someone out there can help me

Basically i run a shell and i have 3 eggdrop bots on it, what i want to make is a ./command to run all the conf files for the bots instead of having to do each one independantly eg ./eggdrop bot1.conf ./eggdrop bot2.conf ./eggdrop bot3.conf id like to make ./bots or something similar

Any help would be greatly appreciated .. .. .. ..

Either on here or via mail thanks

Last edited by chaz; 04-29-2002 at 04:39 AM.
Old 04-29-2002, 06:59 AM   #2
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Just make a script file:

cat > bots << EOF
./eggdrop bot1.conf
./eggdrop bot2.conf
./eggdrop bot3.conf

Make the script file executable:

chmod +x bots

Run the script:

Old 04-29-2002, 07:05 AM   #3
LQ Newbie
Registered: Apr 2002
Location: London, Uk
Distribution: Mandrake
Posts: 2

Original Poster
Rep: Reputation: 0
Cool SORTED :)

Excellent Im All SORTED ) Thanks Again DooD



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
Please dont kill me for asking.. Command line? (I AM i n00b) Nox_hand Linux - Newbie 17 09-17-2005 03:59 PM
Linux N00b needing help installing wireless with Fedora Core 2 Spyder83 Linux - Hardware 2 08-13-2004 03:02 PM
mk_initrd, loading multiple modules? enygma Linux - General 2 07-26-2004 02:15 PM
Multiple tty in command line tearinox Linux - General 2 02-12-2004 10:28 AM
launching multiple apps with one command hamsterdude Linux - General 4 09-13-2002 01:00 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:58 AM.

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
Open Source Consulting | Domain Registration