In order to download a file using bash shell we can make use of the curl command.
Syntax:
Example:
bash-3.2$ curl -O https://code2care.org/c2c-img/icons/jquery.png
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2824 0 2824 0 0 5130 0 --:--:-- --:--:-- --:--:-- 5191

Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!