![]() $ – requires given linux commands to be executed as a regular non-privileged user # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command Privileged access to your Linux system as root or via the sudo command. Requirements, Conventions or Software Version Used You will see how to use these commands in a Bash script below.ĭownloading a file from URL via command line on Linux Software Requirements and Linux Command Line Conventions Category We can also use the curl and wget commands in Bash scripting. Other use cases include downloading many files at once or an entire website. In this tutorial, we’ll show you how to use both commands to perform the task.ĭownloading files from the command line comes in handy on servers that don’t have a GUI, or for Linux users that simply do most of their tasks on the command line and find it speedier than opening a browser to initiate a download. Both tools have their pros and cons, depending on the download task at hand. There are numerous ways to download a file from a URL via the command line on Linux, and two of the best tools for the job are wget and curl.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |