It works recursively, going over each level of nesting and drawing a formated tree of all the contents. Tree is a tiny command line utility that shows you a visual representation of the files in a directory. You can read more about curl in the excellent free book Everything curl. There are tons of options for controlling headers, cookies, authentication, and more. # Fetch the headers of a URL.Ģ9 is the number of days it takes Saturn to orbit the Sun.Ĭurl commands can get much more complicated than this. In web development curl is often used for testing connections and working with RESTful APIs. It can download files, check response headers, and freely access remote data. Some of them are built in, others are free tools that are time-tested and can be installed in less than a minute.Ĭurl is a command line tool for making requests over HTTP(s), FTP and dozens of other protocols you may have not heard about. In this article we've prepared for you a collection of Unix commands that will help you get the most out of your terminal. Mastering it can have a very positive effect on your workflow, as many everyday tasks get reduced to writing a simple command and hitting Enter. The terminal is one of the most important productivity tools in a developer's arsenal.
0 Comments
Leave a Reply. |