Downloading files via command line

Here are a couple commands you can use to download files on your Linux system. These are handy when you are wanting to grab some files while working on the command line.

Using wget

$ wget

Using curl

$ curl -o testfile.txt

These commands will download the file you specify and save them to your current working directory.