0
votes
1answer
18 views

curl does not return any thing for protected file

I have a file on the server that is HTTP Head password protected, but when I tried to get the page the command returned with nothing at all: curl --user username:password http://mysite.com
0
votes
0answers
28 views

curl unable to find cslistener

netstat shows some connection from my linux box to remote host on their cslistener port. But trying to access that port using curl is giving error : $ curl -v https://myapp.domain.com:cslistener * ...
0
votes
1answer
59 views

Curl command help

I'm trying to connect to a internal tool UI, then login and later logout. The homepage is having 3 drop-down options and 2 tabs where we need to enter the IP & Port and then connect. Once ...
0
votes
2answers
381 views

Curl. Check redirect

Lets suppose that we have 3 links: link1, link2, link3. link1 redirects to link2 and link2 redirects to link3. So how to see that with curl?
1
vote
1answer
1k views

Running thousands of curl background processes in parallel in bash script

I am running thounsand of curl background processes in parallel in the following bash script START=$(date +%s) for i in {1..100000} do curl -s "http://some_url_here/"$i > $i.txt& ...
0
votes
0answers
260 views

libcurl4-gnutls-dev : Depends: libldap2-dev but it is not going to be installed

I am trying to install curl in my ubuntu server as I was getting this error whenever I am compiling my C++ code - fatal error: curl.h: No such file or directory Below is the error: ...
1
vote
1answer
370 views

CURL command execution

Can anyone explain me the below curl command and how it works : STATUS_CODE=`curl –output /dev/null –silent –head –write-out ‘%{http_code}\n’ $next` # If you want to set a timeout then add –max-time ...
1
vote
1answer
630 views

cURL on Linux not compiled, although installed

cURL is not compiled into PHP. I'm running: [root@vps ~]# cat /etc/issue CentOS release 5.7 (Final) Kernel \r on an \m Then I execute yum install curl and yum install php-curl. Then: [root@vps ...