did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780470478363

Mac OS X Unix Toolbox : 1000 + Commands for the Mac OS X

by
  • ISBN13:

    9780470478363

  • ISBN10:

    0470478365

  • Format: Paperback
  • Copyright: 2009-03-23
  • Publisher: Wiley
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $34.99

Summary

Explore a ton of powerful Mac OS X UNIX commandsThis handy, compact guide teaches you to use Mac OS X UNIX systems as the experts do: from the command line. Try out more than 1,000 commands to find and get software, monitor system health and security, and access network resources. Apply the skills you learn from this book to troubleshoot networks, lock down security, and uncover almost anything you care to know about your Mac OS X system.Expand your Mac OS X UNIX expertise in these and other areas:Using the shellFinding online softwareWorking with filesPlaying with music and imagesAdministering file systemsBacking up dataChecking and managing running processesAccessing network resourcesHandling remote system administrationLocking down security

Author Biography

Christopher Negus served for eight years on development teams for the UNIX operating system at the AT&T labs, where UNIX was created and developed. He also worked with Novell on UNIX and UnixWare development. Chris is the author of the bestselling Fedora and Red Hat Linux Bible series, Linux Toys II, Linux Troubleshooting Bible, and Linux Bible 2008 Edition. He now works as a trainer for Red Hat Enterprise Linux, and is RHEL certified.

Francois Caen hosts and manages business application infrastructures through his company Turbosphere LLC. As an open-source advocate, he has lectured on OSS network management and Internet services, and served as president of the Tacoma Linux User Group. He is a Red Hat Certified Engineer (RHCE).

Thomas Myer is a consultant, speaker, and writer. He has become closely involved with various aspects of Mac OS X and iPhone programming. He has switched his entire web development business to Mac-based systems.

Table of Contents

Introductionp. xix
Starting with Unix on Mac OS Xp. 1
About FreeBSD, NetBSD, and OpenBSDp. 2
Finding Mac OS X Resourcesp. 4
Focusing on Mac OS X Commandsp. 4
Finding Commandsp. 5
Command Reference Information in Unixp. 6
Summaryp. 9
New to Mac OS X?p. 11
What Is Mac OS X Unix?p. 11
Finding Terminal and Utilitiesp. 12
Directory Structurep. 16
Your Home Directoryp. 18
Spotlightp. 19
Getting and Using Finkp. 21
Mounting and Unmounting Drivesp. 23
Learning to Love Launchdp. 25
Summaryp. 25
Using the Shellp. 27
Terminal Windows and Shell Accessp. 27
Using the Shellp. 28
Using bash Historyp. 29
Using Command-Line Completionp. 30
Redirecting stdin and stdoutp. 31
Using Aliasesp. 33
Tailing Filesp. 34
Acquiring Super User Powerp. 34
Using Environment Variablesp. 35
Creating Simple Shell Scriptsp. 36
Editing and Running a Scriptp. 36
Adding Content to Your Scriptp. 37
Summaryp. 41
Working with Filesp. 43
Understanding File Typesp. 43
Using Regular Filesp. 43
Using Directoriesp. 44
Using Symbolic and Hard Linksp. 45
Using Device Filesp. 46
Using Named Pipes and Socketsp. 46
Setting File and Directory Permissionsp. 47
Changing Permissions with chmodp. 48
Setting the umaskp. 51
Changing Ownershipp. 51
Traversing the File Systemp. 51
Copying Filesp. 53
Searching for Filesp. 55
Generating the locate Databasep. 55
Finding Files with locatep. 56
Locating Files with findp. 57
Using Other Commands to Find Filesp. 59
Finding Out More About Filesp. 59
Listing Filesp. 59
Verifying Filesp. 60
Summaryp. 62
Manipulating Textp. 63
Matching Text with Regular Expressionsp. 63
Editing Text Filesp. 64
Using the Pico and Nano Editorsp. 65
Listing, Sorting, and Changing Textp. 67
Listing Text Filesp. 67
Paging Through Textp. 68
Paginating Text Files with prp. 69
Searching for Text with grepp. 69
Replacing Text with sedp. 71
Translating or Removing Characters with trp. 73
Checking Differences Between Two Files with diffp. 73
Using awk and cut to Process Columnsp. 75
Summaryp. 76
Advanced Scriptingp. 77
Shell Scripting on Mac OS Xp. 77
Creating a Basic Shell Scriptp. 78
Adding Command-Line Argumentsp. 80
Things to Watch Out Forp. 83
Using the Script Commandp. 83
AppleScriptingp. 84
Working with the Open Commandp. 87
Summaryp. 90
Administering File Systemsp. 91
Understanding File System Basicsp. 91
Setting Up the Disk Initiallyp. 92
Checking Your Disk Setupp. 92
Understanding File System Typesp. 92
Creating and Managing File Systemsp. 94
Partitioning Hard Disksp. 94
A Better Option: Nondestructive Partitioningp. 95
Mounting and Unmounting File Systemsp. 96
Checking File Systemsp. 97
Finding Out About File System Usep. 99
Summaryp. 101
Backups and Removable Mediap. 103
Backing Up Data to Compressed Archivesp. 103
Creating Backup Archives with tarp. 103
Using Compression Toolsp. 105
Listing, Joining, and Adding Files to tar Archivesp. 107
Backing Up over a Networkp. 107
Backing Up tar Archives over sshp. 108
Backing Up Files with rsyncp. 109
Backing Up to CD or DVDp. 110
Working with Time Machine and Time Capsulep. 111
Summaryp. 112
Checking and Running Processesp. 115
Listing Active Processesp. 116
Viewing Active Processes with psp. 116
Watching Active Processes with topp. 121
Finding and Controlling Processesp. 123
Using grep and pgrep to Find Processesp. 123
Using fuser to Find Processesp. 124
Summaryp. 131
Managing the Systemp. 133
Monitoring Resourcesp. 133
Monitoring Memory Usep. 134
Monitoring CPU Usagep. 135
Monitoring Storage Devicesp. 136
Mastering Timep. 137
Changing Time Zonep. 137
Displaying and Setting Time and Datep. 137
Using Network Time Protocol to Set Date/Timep. 139
Checking Uptimep. 139
Starting and Stopping Your Systemp. 140
Straight to the Kernelp. 141
Summaryp. 141
Managing Network Connectionsp. 143
Configuring Network Interfacesp. 143
Managing Network Interface Cardsp. 144
Managing Network Connectionsp. 147
Starting and Stopping Network Connectionsp. 148
Starting and Stopping Network Servicesp. 149
Checking Name Resolutionp. 149
Troubleshooting Network Problemsp. 151
Checking Connectivity to a Hostp. 152
Checking Address Resolution Protocol(ARP)p. 153
Tracing Routes to Hostsp. 154
Displaying netstat Connections and Statisticsp. 156
Summaryp. 157
Accessing Network Resourcesp. 159
Transferring Filesp. 159
Downloading Files with Wgetp. 159
Transferring Files with curlp. 161
Transferring Files with FTP Commandsp. 162
Using SSH Tools to Transfer Filesp. 164
Sharing Remote Directoriesp. 165
Sharing Remote Directories with NFSp. 165
Sharing Remote Directories with Sambap. 167
Chatting with Friends in IRCp. 172
Using Text-Based E-mail Clientsp. 173
Summaryp. 175
Remote System Administrationp. 177
Remote Login and Tunnelling with SSHp. 177
Configuring SSHp. 179
Logging in Remotely with sshp. 179
Using screen: A Rich Remote Shellp. 184
Reconnecting to a screen Sessionp. 185
Naming screen Sessionsp. 186
Sharing screen Sessionsp. 186
Using a Remote Windows Desktopp. 186
Using Remote Desktop and Applicationsp. 187
Sharing Your Desktop Using VNCp. 188
Summaryp. 189
Locking Down Securityp. 191
Working with Users and Groupsp. 192
Managing Users the GUI Wayp. 192
Checking on Usersp. 193
Configuring the Built-in Firewallp. 195
Working with System Logsp. 197
Summaryp. 197
Using vi or Vim Editorsp. 199
Starting and Quitting the vi Editorp. 200
Moving Around in vip. 201
Changing and Deleting Text in vip. 202
Using Miscellaneous Commandsp. 204
Modifying Commands with Numbersp. 204
Using Ex Commandsp. 205
Working in Visual Modep. 206
Summaryp. 206
Shell Special Characters and Variablesp. 207
Using Special Shell Charactersp. 207
Using Shell Variablesp. 208
Personal Configuration Filesp. 211
AppleScript Command Summaryp. 215
Fink Package Summaryp. 219
Perl Primerp. 239
Introducing Perlp. 239
Checking Links on a Websitep. 240
The Entire Scriptp. 241
Initializing the Script and Loading Packagesp. 242
Targeting the URL and Extracting Linksp. 243
Processing the @ links Arrayp. 244
Running the Scriptp. 245
Extending the Scriptp. 246
Indexp. 247
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program