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.
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.
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.
@[email protected] exactly… I wish to avoid browsers and GUIs as far as I can… So this tickled my curiosity…
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.
@[email protected] but I can fetch the web through the terminal emulator ??
@[email protected]
For that I would rather recommend a terminal browser like
lynx,w3morlinks2in example.curlis 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 likewget.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