0

Assume that i have downloaded a file in GNU/Linux using wget, the history in the terminal is cleared and i need to get back the URL from which i had downloaded the file. How do i go about? Something like a reserve lookup file==>URL.

1 Answer 1

1

You mean the (assuming bash) .bash_history file is cleared.

Then you are out of luck. You can't restore the url as wget doesn't have something like a history file or something like that (unless you used the -o or -a option yourself).

1
  • Yes .bash_history file is cleared. Let alone wget, is there any other app which can get the url given a file as an input. {I had come across once such but don't remember it as of now, indeed bad luck} Is there any way out like : file ==> (script) ==> URL
    – hemanth.hm
    Oct 17, 2009 at 9:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .