09-27-2012
Well, you could save the stderr output in a temp file with 2>filename and spit it out only if the data you get doesn't meet certain requirements.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
We are trying to invoke a https service from our unix script using curl command. The service is not getting invoked because it is SSL configured. Bypassing certification (using curl –k) does not work.
curl -k https://site
curl -k -x IP:Port https://site
curl -k -x IP:443 https://id:pwd@site
... (0 Replies)
Discussion started by: dineshbabu01
0 Replies
2. Shell Programming and Scripting
I need a proxy that would enable me to use cli curl/wget with another ip address.
How do I find a paid proxy server that supports curl/wget? (1 Reply)
Discussion started by: locoroco
1 Replies
3. Shell Programming and Scripting
Hi,
I'm trying to write a script to download RedHat's errata digest.
It comes in a txt.gz format, and i can get it easily with firefox.
HOWEVER: output is VERY strange when donwloading it in a script. It seems I'm getting a file of the same size - but partially text and partly binary! It... (5 Replies)
Discussion started by: jstilby
5 Replies
4. Shell Programming and Scripting
Hello,
I am wondering does anyone know of a method using curl/wget or other where by I could specify the IP address of the server I wish to query for a website.
Something similar to editing /etc/hosts but that can be done directly from the command line. I have looked through the man pages... (4 Replies)
Discussion started by: colinireland
4 Replies
5. Shell Programming and Scripting
Hi
I need a Shell script that will download a zip file every second from a http server but i can't use neither curl nor wget.
Can anyone will help me go about this task ???
Thanks!! (1 Reply)
Discussion started by: rubber08
1 Replies
6. Shell Programming and Scripting
Hi,
My script needs to crawl the data from a third party site. Currently it is written in wget. The third party site is of shared interface with different IP addresses.
My wget works with all the IP address but not with one. Whereas the curl is able to hit that IP address and comes out... (2 Replies)
Discussion started by: sathyaonnuix
2 Replies
7. Shell Programming and Scripting
Experts,
I login to a 3rd party and pull some valuable information with my credentials. I pass my credentials via --post-data in wget.
Now my Account is locked. I want my wget to alert that the Account is locked. How can i achieve this.
My idea is, get the Source page html from the... (2 Replies)
Discussion started by: sathyaonnuix
2 Replies
8. Shell Programming and Scripting
Hello,
What I am trying to do is to get html data of a website automatically.
Firstly I decided to do it manually and via terminal I entered below code:
$ wget http://www.***.*** -q -O code.html
Unfortunately code.html file was empty.
When I enter below code it gave Error 303-304
$... (1 Reply)
Discussion started by: baris35
1 Replies
9. Shell Programming and Scripting
i'm using this command to post data to a remote host:
wget --post-data="My Data" http://<my-ip>:80 -O /dev/null -q
and
curl --data "My Data" http://<my-ip>:80
however, when i run the above, i see the following in my access log on the remote host:
Wget:
10.10.10.10 - - "POST /... (1 Reply)
Discussion started by: SkySmart
1 Replies
10. Web Development
What can I use instead of wget/curl when I need to log into websites that use javascript?
Wget and curl don't handle javascript. (6 Replies)
Discussion started by: locoroco
6 Replies
LEARN ABOUT SUSE
cddb-tool
CDDB-TOOL(1) General Commands Manual CDDB-TOOL(1)
NAME
cddb-tool - Get CDDB information
SYNOPSIS
cddb-tool parse file [-i|-d|-a|-t] [num|-c|-p]
cddb-tool template disc-id tracks
cddb-tool send [file] address
cddb-tool query server user host disc-id tracks
cddb-tool read server user host disc-id genre
cddb-tool help
DESCRIPTION
cddb-tool is a backend tool for abcde. It is passed information from cd-discid and uses it look up the CD title, artist, and track informa-
tion on the cddb database (http://freedb.freedb.org) on the internet.
COMMANDS
parse [file] option
Get data out of a cddb file (use "-" for stdin). Options (use one and only one):
id prints disc id
album prints album title
track num
prints title of track num
artist prints artist
category
prints category
cddbgenre
synonym for category
all parse file and dumps to stdout in a form sourceable by the shell
send [file] address
Mails file file (or stdin of no file specified) to specified address, using correct format. Category should be one of blues, classical,
country, data, folk, jazz, newage, reggae, rock, soundtrack, misc.
template [disc-id] [tracks]
Generates a template (empty) cddb file to stdout. The command line should be essentially the output of cd-discid.
query [server] [user] [host] [disc-id] [tracks]
Looks up disc on server (should be of form "http://host/cddb/cddb.cgi") remainder of command line is in the same form as that returned by
the cd-discid program. Uses wget, so if you need to use a proxy then just configure wget to do so. user and host will be used for identify-
ing ourselves to the CDDB server. Outputs response code and entries with matching CDDB entries, if successful, from the CDDB server.
read [server] [user] [host] [disc-id] [genre]
Dumps CDDB entry to stdout. File will contain an extra #CATEGORY= line, which leaves it a valid CDDB file but which will be recognized by
parse and send commands. Uses wget, so if you need to use a proxy then just configure wget to do so. user and host will be used for identi-
fying ourselves to the CDDB server.
help
Prints usage information.
AUTHOR
Nathaniel Smith <njs@uclink4.berkeley.edu>, maintained as part of abcde by Robert Woodcock <rcw@debian.org>. Manual page compiled from help
information by Robert Woodcock.
CDDB-TOOL(1)