meka meka
meka meka

Reputation: 161

how to abort wget?

sometime when I use wget to recursively download a website, I made a mistake and want abortion.

I've Searched over and over and no luck

Upvotes: 16

Views: 44365

Answers (3)

user4401178
user4401178

Reputation:

If it's because its hungup in retries on an unresponsive server, you can try to send it the signal SIGQUIT (-3) (tested on Wget 1.16).

$> kill -SIGQUIT <wget pid>

Upvotes: 1

bta
bta

Reputation: 45057

What shell are you running wget from? In many shells, CTRL+C will cancel the currently-running process. If you are running a Linux shell, pkill -9 wget should be able to force-kill it if it's running in the background.

Upvotes: 35

Phong
Phong

Reputation: 6768

send a interuption signal.

  • In the same console you can do Ctrl+C
  • In other console than the one you are using: pkill -9 wget

Upvotes: 8

Related Questions