LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-25-2005, 05:33 PM   #1
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Rep: Reputation: 59
Question Elementary Bash Scripting Question


I was rooting through my ~/BOINC directory a couple of day ago, when I noticed that the default 'run_client.sh'
script doesn't output any stdout or stderror files that I could find. Also, when run from the command line it doesn't return control to the terminal.

I decided this was the ideal oppertunity to test by bash scripting skills, which I soon discovered were non-existant

Anyway, I am running Slackware-current, Kernel 2.6.12.3 BOINC 4.43 and Seti 4.02

Here is the script in question, I managed to get it to write stdout (and hopefully stderror) to file but it still won't return to the terminal. The solution is something blindingly obvious I'm sure


cd "/home/andrew/BOINC" && ./boinc >> /home/andrew/BOINC/output 2>> /home/andrew/BOINC/errors

It should be all one line.

So much for my 1337n355

 
Old 08-25-2005, 06:16 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Add a & at the end
 
1 members found this post helpful.
Old 08-25-2005, 06:40 PM   #3
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Original Poster
Rep: Reputation: 59
Talking Thanks

Thanks, willdo

It works like a charm

Last edited by Eternal_Newbie; 08-25-2005 at 06:51 PM.
 
  


Reply



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
Bash Scripting Question jsimmonds Programming 2 06-16-2005 09:07 AM
A Bash Scripting Question steve_f60 Linux - Newbie 4 05-26-2005 06:57 PM
BASH Scripting question flagg0204 Programming 4 12-23-2004 07:59 AM
Bash scripting question. welby Linux - Software 1 01-14-2004 10:05 AM
bash scripting question brian0918 Linux - Newbie 7 06-26-2003 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:56 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
Open Source Consulting | Domain Registration