Link to home
Start Free TrialLog in
Avatar of hankknight
hankknightFlag for Canada

asked on

Linux curl: Usename with @ in it

This does not work because there is an @ in the username:
curl -kX -u nlbdmobz@sharklasers.com:password123 GET https://zqzqzqz555.couchappy.com/site/www/zzz/hello.txt

Open in new window

Avatar of xterm
xterm

Put a backslash (\) in front of the @ sign:

curl -kX -u nlbdmobz\@sharklasers.com:password123 GET https://zqzqzqz555.couchappy.com/site/www/zzz/hello.txt
Avatar of hankknight

ASKER

No, that does not work.  Please test it.  The example I provided uses a real site with a real username and password.  Thanks.
ASKER CERTIFIED SOLUTION
Avatar of xterm
xterm

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial