Wiley Mac OS X Snow Leopard All-in-One For Dummies 978-0-470-43541-0 User Manual
Product codes
978-0-470-43541-0
658
UNIX Programs That Come in Handy
This example uploads the README.curl file from the Desktop folder that I
downloaded earlier to an imaginary FTP server.
downloaded earlier to an imaginary FTP server.
How do you spell success? C-u-r-l!
Sure, HTTP and FTP are handy, but did you know that there are many
other protocols for network communications? One of the niftier ones is the
Dictionary protocol. With it, you can look up words from any server that
understands the protocol. Suppose, for example, that you want to know the
meaning of the term DVD. Enter the following command to find out:
other protocols for network communications? One of the niftier ones is the
Dictionary protocol. With it, you can look up words from any server that
understands the protocol. Suppose, for example, that you want to know the
meaning of the term DVD. Enter the following command to find out:
curl dict://dict.org/d:DVD
With curl, Dictionary, and your Dictionary Dashboard widget on the same
Macintosh, you might never use a “real” paper dictionary again!
Macintosh, you might never use a “real” paper dictionary again!
54_435410-bk08ch01.indd 658
54_435410-bk08ch01.indd 658
8/6/09 12:45:01 AM
8/6/09 12:45:01 AM