Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

migrated from stackoverflow.com Oct 17 '09 at 8:31

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer 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).

share|improve this answer
    
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 '09 at 9:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.