LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-29-2002, 05:34 AM   #1
chaz
LQ Newbie
 
Registered: Apr 2002
Location: London, Uk
Distribution: Mandrake
Posts: 2

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


Hey,

*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 chaz@chaztech.cjb.net thanks

Last edited by chaz; 04-29-2002 at 05:39 AM.
 
Old 04-29-2002, 07:59 AM   #2
Mik
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
EOF

Make the script file executable:

chmod +x bots

Run the script:

./bots
 
Old 04-29-2002, 08:05 AM   #3
chaz
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

 
  


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


All times are GMT -5. The time now is 07:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration