Solved

wget to stdout

Posted on 2004-09-30
2
2,836 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

757 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now