How Do You Redirect The Output of Lynx to a Regular File?

Problem scenario:  You are using Lynx and you want to redirect the downloaded web page to a file.  You do not want it to be sent to standard out (also referred to as printed to the screen).  What do you do?


You should use the "-dump" flag between the "lynx" utility word and the URL.  Then use the regular POSIX redirect symbol ">" at the end of the Linux command.  Here is an example:

lynx -dump > /tmp/index.html

Please remember to use good discretion when using this capability.  Respect the intellectual property rights of others.

Leave a comment

Your email address will not be published. Required fields are marked *