LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 10-14-2003, 03:35 AM   #1
seize630
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
Question background jobs


hi,
i 'd like to know that if i put wget into the background with &, how do I bring it to the front, or how can I control how much of the file did it download?

thanx
 
Old 10-14-2003, 03:50 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
fg %1

if its the first job you've put in the background.
 
Old 10-14-2003, 03:55 AM   #3
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
what is the use of running wget in the background with &??i think you have to put the -b option for running wget in the background.
--arun
 
Old 10-14-2003, 05:13 AM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Maybe if you are downloading something that will take a while and you want to be able to still use the shell?
 
Old 10-14-2003, 06:38 AM   #5
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
For wget, I use screen.

type "screen", start your download, and type "Ctrl+A+D".

use "screen -r" to resume your screen in any other console.
 
Old 10-14-2003, 07:05 AM   #6
arunshivanandan
Member
 
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
Quote:
Maybe if you are downloading something that will take a while and you want to be able to still use the shell?
i know about background processes.But ,abt wget,even if you give &,it will continue to output the downloading information to your shell.To run wget in the background,you have to use the -b option.i.e,
wget -b [url]
--arun.
 
Old 10-14-2003, 04:16 PM   #7
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
ah I see. Thanks.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nohup and Background Jobs Onyx2316 Linux - Newbie 3 02-28-2012 01:10 AM
Kill all Background Jobs jwprz70 Linux - Newbie 10 05-12-2010 02:29 AM
running jobs on the background feetyouwell Linux - Software 3 08-02-2005 11:36 AM
Background jobs paddyjoy Linux - Newbie 2 07-19-2005 02:46 AM
killing background jobs? sk8guitar Linux - General 3 08-09-2003 06:22 AM


All times are GMT -5. The time now is 06:52 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration