Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-25-2005, 05:33 PM   #1
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware 13.37
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 ''
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 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
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Add a & at the end
Old 08-25-2005, 06:40 PM   #3
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware 13.37
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.


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
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

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