LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 10-14-2003, 02: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, 02: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, 02: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, 04: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, 05: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, 06: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, 03: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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 12:57 AM.

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