– you will the HTML that powers I thought Unix was supposed to be quiet? Using the ls command will show the contents of the directory: lsĪnd if you use cat to output the contents of my.file, like so: cat my.file So let's confirm that a file named my.file was actually downloaded. Let's try it with a basic website address: curl -output my.fileīesides the display of a progress indicator (which I explain below), you don't have much indication of what curl actually downloaded. ![]() That -output flag denotes the filename ( some.file) of the downloaded URL ( ) This is the basic usage of curl: curl -output some.file ![]() Other times we might pipe it directly into another program. Sometimes we want to save a web file to our own computer. The curl tool lets us fetch a given URL from the command-line. How to download files straight from the command-line interface
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |