Re: how to find out dead links

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14Nov2009 00:54, Eugeneapolinary Ju <eugeneapolinary81@xxxxxxxxx> wrote:
| wget -r -p -U Firefox "http://www.somesite.com/"; 2>&1 | grep 404 > 404.txt
| 
| why come 404.txt is 0 Byte? how to put the STDOUT to a file with wget?

Perhaps you should read "man wget". It says:

       -O file
       --output-document=file
           The documents will not be written to the appropriate files, but
           all will be concatenated together and written to file.  If - is
           used as file, documents will be printed to standard output,
           disabling link conversion.  (Use ./- to print to a file literally
           named -.)

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux