If you've ever thought you should learn how to use the Unix command line that underlies Mac OS X, or felt at sea when typing commands into Terminal, Joe Kissell is here to help! This ebook will help you become comfortable working on the Mac's command line, starting with the fundamentals and walking you through more advanced topics as your knowledge increases. And if you're uncertain how to put your new-found skills to use, Joe includes numerous real-life "recipes" for tasks that are best done from the command line.
The book begins by teaching you these core concepts: The differences between Unix, a command line, a shell, and Terminal Exactly how commands, arguments, and flags work The basics of Terminal's interface and how to customize it
Next, it's on to the command line, where you'll learn: How to navigate your Mac's file system Basic file management: creating, copying, moving, renaming, opening, viewing, and deleting files The types of command-line programs How to edit a text file in nano (even if you are not named Mork) What a profile is, why it's cool, and how to customize yours The importance of your PATH and how to change it, if you need to How to get help (Joe goes way beyond telling you to consult the man pages)
You'll extend your skills as you discover how to: Create and run scripts to automate repetitive tasks. See which programs are running and what system resources they're consuming. Quit programs that refuse to quit normally. Enable the command line to interact with the Finder. Control another Mac via its command line using ssh. Understand and change an item's permissions, owner, and group. Run commands as the root user using sudo.
Questions answered include: Which shell am I using, and how can I change my default shell? How do I quickly figure out the path to an item on my Mac? How can I customize my Terminal window so I can see man pages behind it? How can I make a shortcut to avoid retyping the same long command? Is there a trick for entering a long path quickly? What should I say when someone asks if I know how to use vi? How do I change my prompt to suit my mood or needs?
Finally, to help you put it all together, the book showcases 40 real-world "recipes" that combine commands you've learned to perform useful tasks, such as listing users who've logged in recently, figuring out why a disk won't eject, changing filename extensions, copying the source code of a Web page, downloading a file via FTP, determing which programs have open connections to the Internet, learning details about a domain name, and deleting stubborn items from the Trash.
An instant success among newcomers, longtime Apple® fans and serious Unix® users alike, the Mac OS® X operating system combines stability, simplicity and elegance, and a stunning user interface. What more could Mac users want or need? The answer, of course, is Mac OS X Panther--a sleek and powerful overhaul of Mac OS X that promises to revitalize your Mac with improved views of the system, significant improvements to favorite applications, and numerous added conveniences. As with its predecessor, Jaguar, Mac OS X Panther offers plenty of new territory to explore. To show the way, O'Reilly's latest Nutshell book, Mac OS X Panther in a Nutshell, 2nd Edition offers all audiences--both longtime Mac users and hardcore Unix users--the most complete guide to this remarkable operating system.
The latest edition of this all-purpose reference leads power users through the newly changed landscape of Mac OS X. Mac OS X Panther in a Nutshell, 2nd Edition provides details about the user-interface elements, system and network administration, and scripting and development. If you want to probe more deeply into the BSD Unix side of Mac OS X, there's a section that delves "under the hood." The book also includes the most complete Unix command reference found in print--with each command and option painstakingly tested and checked against Panther. Even the manpages that ship with the system can't compete in accuracy!
Mac OS X Panther in a Nutshell, 2nd Edition offers a thorough treatment of Mac OS X Panther, from its BSD Unix foundation to the finer points of its user interface. It familiarizes readers with the Finder™ and the Dock, file management, system configuration, network administration issues, and more, including a clear picture of what's new
Other topics covered in the book include:
- Filesystem overview
- Running Java® applications
- System and Network Administration
- Directory Services and NetInfo
- Scripting on Mac OS X Panther
- Using CVS
- Unix Command Reference
- An overview of the Apple® X11 distribution