Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Alright; while we're at it, let's revisit our wget command from before, which is installed on many systems, including the C2S2 server.   wget takes in a file that is located on the internet, and downloads the file to your current directory. For example, if we wanted to download the Bill of Rights, we might do so with the following command:

Code Block
languagebash
themeDJango
wget http://www.textfiles.com/anarchy/billofrights.txt

Note that this will store it as the original file name, billofrights.txt . Previously, we used the O flag, which specified that we wanted the new file name to be the next argument.

If you want to try this on your own, you can browse some cool text files here

Info

If you try to download a website that isn't explicitly a file, you'll get a file named index.html - the HTML source code that makes up the website!

Footnotes

Footnotes Display