Curl -v logs


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Curl -v logs
# 1  
Old 11-02-2014
Curl -v logs

Hi All,

Seeking for your assistance on how to redirect into another files the logs of curl -v

i tried this code below but i got 0 logs.

Code:
curl -v 'http://127.0.0.0.......' >> test.logs

Thanks in advance.

BR,
# 2  
Old 11-02-2014
Perhaps the output you want is being written to stderr instead try:

Code:
curl -v 'http://127.0.0.0.......' >> test.logs 2>&1

This User Gave Thanks to Chubler_XL For This Post:
# 3  
Old 11-02-2014
wow it's finally working.. thanks Sir Chubler_XL

BR,
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

If I ran perl script again,old logs should move with today date and new logs should generate.

Appreciate help for the below issue. Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt.............. 1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies

2. Homework & Coursework Questions

Curl Loop help

1. The problem statement, all variables and given/known data: Here is my assignment. Parse the /home/access_log and /home/access_.xz files Create a sorted list of ip address with no duplicates Pass each ip address to ipinfo.io with curl Create a logfile that has the ip address,lat,long Save... (1 Reply)
Discussion started by: kjcraig77
1 Replies

3. Shell Programming and Scripting

Help with curl command

HI I am trying to write a script where i can enter a dvd's bar code at the cli and return the price sites will pay for the dvd. the bard code im using for testing is this site is through use of httpfox i have found some info whic i need to use with curl ctl00$ScriptManager1... (4 Replies)
Discussion started by: dunryc
4 Replies

4. Shell Programming and Scripting

curl misbehaving

Hi friends, I have a text file of the following kind input.txt -o abc.pdf "pdfmyurl.com?url=http://www.abc.com" I am using this command for i in `cat input.txt`; do curl $i; done It is giving the error try 'curl --help' or 'curl --manual' for more information Any... (5 Replies)
Discussion started by: jacobs.smith
5 Replies

5. Shell Programming and Scripting

Help with cURL

Hi all; first of all i need to clarify that i am new to apache2 server configuration and for some needs i want to transfer some files using curl to web directory,so please bear with me: following is the command i m running to transfer file to my web directory: curl -T "q"... (4 Replies)
Discussion started by: arien001
4 Replies

6. UNIX for Dummies Questions & Answers

Basic cURL help!

hi!! this is my first post!! our university student search has this form which uses POST method(the website is swd.bits-goa.ac.in/searchform1)..now i tried sending post data from cURL... curl -o this.html --data "name=rohan&id=&hostel=&room=&branch=&search=Search"... (9 Replies)
Discussion started by: slotlocker
9 Replies

7. Shell Programming and Scripting

Grep yesterday logs from weblogic logs

Hi, I am trying to write a script which would go search and get the info from the logs based on yesterday timestamp and write yesterday logs in new file. The log file format is as follows: """"""""""""""""""""""""""... (3 Replies)
Discussion started by: harish.parker
3 Replies

8. Shell Programming and Scripting

use of curl

I have to transfer a file from my aix box to another server using ftps protocol, how can i achieve this using curl preferably or any other utility. Regards Sandeep (0 Replies)
Discussion started by: jayawantsandeep
0 Replies

9. AIX

use of curl

Hi guys , need some help I have to transfer a file from my aix box to another server using ftps protocol, how can i achieve this using curl preferably or any other utility. Thanks Sandeep (0 Replies)
Discussion started by: jayawantsandeep
0 Replies

10. Shell Programming and Scripting

curl

Aren't there any way to download files as below? For example, I want to download all .html files under the root directory of unix.com/ curl -O https://www.unix.com/*.html This won't work, but please tell me the way to do this. Well, the best way is to get the file list of the directory, but i... (6 Replies)
Discussion started by: Euler04
6 Replies
Login or Register to Ask a Question