this post was submitted on 17 Nov 2025
-2 points (43.8% liked)

Linux

10191 readers
719 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
 

Can someone please explain what is this ? https://curl.se/

top 50 comments
sorted by: hot top controversial new old
[–] curbstickle@anarchist.nexus 15 points 3 days ago (1 children)

curl stands for client URL, and you use it to talk to a server (URL) in whatever protocol you specify. Its used for development as a way to test client & server communication, built into applications to perform communication between a client & a server, and its used often because its extremely portable, has great error logging, can be rate limited, and can provide a substantial amount of detail about the communication.

[–] TheracAriane@thebrainbin.org 5 points 3 days ago (2 children)

@curbstickle@anarchist.nexus like Facebook is a server while the app on my mobile is a client ?

[–] elmicha@feddit.org 6 points 3 days ago

Yes, facebook is running on a web server and the app (or a browser) is a client.

[–] curbstickle@anarchist.nexus 2 points 3 days ago

Yes, though really its a lot of servers.

I wouldn't worry about tools yet, I'd recommend getting a book/wiki on networking if you'd like to learn, its knowledge that builds.

[–] bjoern_tantau@swg-empire.de 7 points 3 days ago (1 children)

It's a program to download stuff from the web. It is very flexible. You can tell it to use cookies, post form data, upload and download files. It can do basically everything a web browser does without a graphical user interface.

It is built into many software pieces. And developers love it to test stuff.

[–] TheracAriane@thebrainbin.org 2 points 3 days ago (1 children)

@bjoern_tantau@swg-empire.de exactly.... I wish to avoid browsers and GUIs as far as I can.... So this tickled my curiosity........

[–] asudox@lemmy.asudox.dev 11 points 3 days ago (1 children)

Believe me, you aren't going to get used to nor enjoy "browsing" the web with curl. It's not what you think it is.

[–] TheracAriane@thebrainbin.org 2 points 3 days ago (2 children)

@asudox@lemmy.asudox.dev but I can fetch the web through the terminal emulator ??

@bjoern_tantau@swg-empire.de

[–] thingsiplay@beehaw.org 8 points 3 days ago

For that I would rather recommend a terminal browser like lynx, w3m or links2 in example. curl is more like a single web request to download one piece of raw file (an html page or an image in example). It is not meant to interpret websites and display results. If you want save webpages for offline view, then something like wget.

[–] 48954246@lemmy.world 5 points 3 days ago

The modern internet isn't designed to be interacted with via a terminal.

So much of the internet today runs on JavaScript and curl won't run that

[–] 0x0@lemmy.zip 5 points 3 days ago (2 children)
[–] hexagonwin@lemmy.sdf.org 2 points 3 days ago

damn, people here are too kind. literally explaining everything op asks when it can literally be searched on wikipedia lmao...

[–] Quill7513@slrpnk.net 1 points 3 days ago

Large… Mob Machine

[–] porn_was_never_the_real_issue@lemmynsfw.com 6 points 3 days ago (23 children)

It’s an open source project that is like a Swiss Army knife for, primarily http/https, connections.

I use it daily for scripting, monitoring and automation.

load more comments (23 replies)
[–] TheracAriane@thebrainbin.org 2 points 3 days ago (1 children)

@borf@lemmynsfw.com I'm sorry..... I'm on brainbin, and l'm yet to get familiar with how it works......

[–] borf@lemmynsfw.com 3 points 3 days ago* (last edited 3 days ago)

I still don't understand why you won't explain why you "need" to learn about curl.

You don't need to know anything at all about curl unless you're working on a technical project, and no offense, I don't think you are.

Why do you ""need"" to know about curl?

[–] dajoho@sh.itjust.works 1 points 3 days ago (1 children)

Curl is very low level. It will let you download things but won't display it to you in any really useful way. It is intended to be used by other applications.

If you're looking to use it to browse websites using the terminal, you need something that uses curl in the background but displays anything you download to you in a sensible way. Two such applications are lynx and links2. These will run in your terminal.

However you may not have much fun browsing facebook or anything modern. A lot of websites require javascript, which lynx or links2 will have trouble understanding.

[–] dajoho@sh.itjust.works 2 points 3 days ago (1 children)

This is links, running on the Terminal on my phone.

[–] TheracAriane@thebrainbin.org 1 points 3 days ago

@dajoho@sh.itjust.works so this is how websites look like from the terminal ?

[–] borf@lemmynsfw.com 1 points 3 days ago* (last edited 3 days ago) (2 children)

OP, please tell me more about your situation. What made you curious about this?

[–] TheracAriane@thebrainbin.org 1 points 3 days ago (1 children)

@borf@lemmynsfw.com tell me one thing.... Do you use the terminal on your mobile phone ??

[–] borf@lemmynsfw.com 3 points 3 days ago

Not these days.

Curl isn't just a command line tool, it is also a "library" which other computer software uses. Everyone's phone uses curl under the hood. Almost every electronic device that connects to something remote uses curl under the hood.

I still don't understand what you're trying to do.

[–] TheracAriane@thebrainbin.org 1 points 3 days ago (1 children)

@borf@lemmynsfw.com l just saw that it runs on cli, and l was wondering if it can be used as a terminal emulator.

[–] borf@lemmynsfw.com 3 points 3 days ago (2 children)

Curl is not a terminal emulator. Unless you provide a better reason I am now assuming you are a troll.

[–] 48954246@lemmy.world 3 points 3 days ago (3 children)

Not a troll. Just a kid trying to figure out how to browse the web with a terminal.

This is a basic https://xyproblem.info/

[–] borf@lemmynsfw.com 2 points 3 days ago

I thought maybe an XY problem at first but the refusal to do any research on one's own or to reply to my repeated requests to know what they were really trying to do made me block them as posting in bad faith.

[–] TheracAriane@thebrainbin.org 1 points 3 days ago

@48954246@lemmy.world well, l am a kid when it comes to computers and technology........

@borf@lemmynsfw.com

load more comments (1 replies)
[–] TheracAriane@thebrainbin.org 1 points 3 days ago

@borf@lemmynsfw.com l'm not a troll. I discovered it in Codeberg, and it raised my curiosity. Probably l don't have any use for it at this point of time.

load more comments
view more: next ›