Solved

wget to stdout

Posted on 2004-09-30
2
2,843 Views
Last Modified: 2012-06-21
This should be a cinch but i'm @#$%@#ed if i can see the option - how do you tell wget *not* to create a file, but just dump to stdout?
0
Comment
Question by:CEHJ
2 Comments
 
LVL 19

Accepted Solution

by:
ramazanyich earned 50 total points
ID: 12189299
try
wget -O - ...

excerpt from man wget:
       -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 file already exists, it will be over-
           written.  If the file is -, the documents will be
           written to standard output.  Including this option
           automatically sets the number of tries to 1.
0
 
LVL 86

Author Comment

by:CEHJ
ID: 12189373
Ah. I'm actually using the Windoze port at the moment, and this is all i get in --help:

  -O   --output-document=FILE   write documents to FILE.

but the option

-O -

works nonetheless. Thanks
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question