• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Hour 20. UNIX Command Line Tour > Other Useful Commands

Other Useful Commands

Thousands of other commands and utilities on Mac OS X could potentially be covered in a UNIX chapter. Rather than trying to do the impossible and document them all in 15 to 20 pages, we close out the hour by listing a few interesting functions that you can explore (remember to use man!) if you choose to do so.

  • curl Retrieves information from a given URL. Useful for downloading files from the command line.

  • ncftp A simple, yet surprisingly user-friendly FTP client.

  • cat Displays the contents of a file.

  • file Shows the type of a file (what it contains).

  • locate Quickly finds a file based on the text in its name.

  • find Locates files based on their size, modification dates, and so on. This is the UNIX equivalent of Sherlock.

  • grep Searches through a text file for a given string.

  • shutdown Shuts down a Mac OS X computer.

  • reboot Reboots a Mac OS X computer.

  • date Displays the current date and time.

  • uptime Shows the amount of time your computer has been online and what the current system load is.

  • passwd Changes your Mac OS X password.

  • df Shows the amount of free and used space on all available partitions.

  • du Displays disk usage information on a directory-by-directory basis.

  • tar Archives and dearchives files in the UNIX tar format.

  • gzip/gunzip Compresses and decompresses files.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint