wget output


I am using WGET to invoke a URL. My problem is that the URL is being invoked fine but its always creating a kinda log file every time the URL get invoked. Is there any flag to ignore the creation of these log files ?

 /usr/local/bin/wget -q

I have tried the flags -q and  -nv but its still creating the log files :(

-rw-r--r--   1 nagios   other        393 May  2 11:55 abc.jsp
-rw-r--r--   1 nagios   other        393 May  2 11:55 abc.jsp.1
-rw-r--r--   1 nagios   other        393 May  2 11:55 abc.jsp.2
-rw-r--r--   1 nagios   other        393 May  2 11:55 abc.jsp.3


Who is Participating?
birthstarConnect With a Mentor Commented:
wget actually gets the contents of the URL that you supply and is storing it into the files abc.jsp abc.jsp1 ...

If you don't want it to do this then try the --spider option

wget --spider

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.