![]() $ wget Saving the Downloaded File with Different Name It will store the file in the current directory of your computer. To download a file from the web, use wget command with the location of the file. This is a general structure of the wget command in Linux. ![]() $ sudo dnf install wget Wget Command Syntax If you are using Fedora operating system then use this command to download and install the wget. $ sudo yum install wget Installing Wget on Fedora If you are using CentOS operating system then use this command to download and install the wget. Installing Wget on Ubuntu and Debian $ sudo apt install wget Installing Wget on CentOS This utility is preinstalled in all the Linux distros, but in case if not available then use these commands to download. This is a simple command, later in the article, we will learn with flag/options. You can pass the file path with the command, without any option. You can use this command to download a file from the web. It provides several options that are useful to download files as per the requirement. We can use this to download a website also. We can use it to download files from HTTP, HTTPS, or FTP servers. Wget is a utility command in Linux that is used to download files from the web.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |