Solved

wget to stdout

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
expectj telnet failing 5 45
bash file 10 50
expand ext4 on centos 6 5 37
Redhat upgrade 1 27
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…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

820 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