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

16. Terminal: Doorway to Unix > Double-Clickable Unix Tools

Double-Clickable Unix Tools

Most people are used to thinking of Unix applications as programs you run from within Terminal. Many, though, appear in the Finder as regular old icons—and in Panther and Tiger, you can open them by double-clicking, just as you would a traditional Mac OS X program. This trick isn’t very useful for commands that require flags. But for some, like cal, clicking provides a quick way to run the program, especially if you keep it in your Dock.

To double-click a Unix program, though, you first have to find it—and that may not be easy. Mac OS X’s Unix directory structure is labyrinthine indeed.

But why not ask Terminal where the program is? You can do exactly that using the which command: which cal, for example. Terminal responds with /usr/bin/cal, telling you that cal resides in the /usr/bin directory.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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