Ask coding questions

← Back to all posts
What is the correct log code for bash?
PJM411 (2)

When I use 'curl --log' it says 'curl: option --log: is ambiguous'

Answered by Coder100 (18148) [earned 5 cycles]
View Answer
Comments
hotnewtop
Coder100 (18148)

If you meant to print to the terminal, use the echo command

echo Server is up!

Not quite sure where you got curl from, that's for making HTTP requests.

Coder100 (18148)

well curl prints the output by default, like this:

curl https://replit.com

you will be spammed with all sorts of html