Javatpoint Logo
Javatpoint Logo

Linux curl & wget

These commands are used to download a file from the internet using CLI. With curl commands option O will be used while wget command will be used without any option. The file will be saved in the current directory.

Syntax:

Example:

Linux curl & wget1

Look at the above snapshot, we have downloaded one file with the help of curl -O command.

Syntax:

Example:

Linux curl & wget2

Look at the above snapshot, we have downloaded one file with the help of wget command.

Next TopicLinux mtr




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA