|
|
curl in the background
|
|
|
|
Mac Elite
Join Date: Jan 2000
Location: Seattle, WA, King
Status:
Offline
|
|
If I send curl to the background to free up my terminal window while it downloads something, its update/status text still refreshes in the window as if I never sent it to the background. Does anyone know how to send curl (or wget) to the background and keep its status text from refreshing?
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: May 2001
Status:
Offline
|
|
use the silent option for curl: curl -s
or use the quiet option for wget: wget -q
That help?
|
|
|
|
|
|
|
|
|
Moderator
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status:
Offline
|
|
Or you just do it hard-core UNIX way: add
"> /dev/null"
without quotes to the end. Shuts up any program...
|
The new Mac Pro has up to 30 MB of cache inside the processor itself. That's more than the HD in my first Mac. Somehow I'm still running out of space.
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jan 2000
Location: Seattle, WA, King
Status:
Offline
|
|
That does indeed help. Thanks!
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: May 2001
Status:
Offline
|
|
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by P:
<strong>Or you just do it hard-core UNIX way: add
"> /dev/null"
without quotes to the end. Shuts up any program...</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">That will only shut up stdout. You also have to take care of stderr:
#> ./programname > /dev/null 2>&1 &
Otherwise, your shell could still get cluttered with error messages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|