Mac OS X UNIX Toolbox
Item Details
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
… More »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
« Less- Introduction
- Chapter 1 Starting with Unix on Mac OS X
- About FreeBSD, NetBSD, and OpenBSD
- Finding Mac OS X Resources
- Focusing on Mac OS X Commands
- Finding Commands
- Command Reference Information in Unix
- Summary
- Chapter 2 New to Mac OS X?
- What Is Mac OS X Unix?
- Finding Terminal and Utilities
- Directory Structure
- Your Home Directory
- Spotlight
- Getting and Using Fink
- Mounting and Unmounting Drives
- Learning to Love Launchd
- Summary
- Chapter 3 Using the Shell
- Terminal Windows and Shell Access
- Using the Shell
- Using bash History
- Using Command-Line Completion
- Redirecting stdin and stdout
- Using Aliases
- Tailing Files
- Acquiring Super User Power
- Using Environment Variables
- Creating Simple Shell Scripts
- Editing and Running a Script
- Adding Content to Your Script
- Summary
- Chapter 4 Working with Files
- Understanding File Types
- Using Regular Files
- Using Directories
- Using Symbolic and Hard Links
- Using Device Files
- Using Named Pipes and Sockets
- Setting File and Directory Permissions
- Changing Permissions with chmod
- Setting the umask
- Changing Ownership
- Traversing the File System
- Copying Files
- Searching for Files
- Generating the locate Database
- Finding Files with locate
- Locating Files with find
- Using Other Commands to Find Files
- Finding Out More About Files
- Listing Files
- Verifying Files
- Summary
- Chapter 5 Manipulating Text
- Matching Text with Regular Expressions
- Editing Text Files
- Using the Pico and Nano Editors
- Listing, Sorting, and Changing Text
- Listing Text Files
- Paging Through Text
- Paginating Text Files with pr
- Searching for Text with grep
- Replacing Text with sed
- Translating or Removing Characters with tr
- Checking Differences Between Two Files with diff
- Using awk and cut to Process Columns
- Summary
- Chapter 6 Advanced Scripting
- Shell Scripting on Mac OS X
- Creating a Basic Shell Script
- Adding Command-Line Arguments
- Things to Watch Out For
- Using the Script Command
- AppleScripting
- Working with the Open Command
- Summary
- Chapter 7 Administering File Systems
- Understanding File System Basics
- Setting Up the Disk Initially
- Checking Your Disk Setup
- Understanding File System Types
- Creating and Managing File Systems
- Partitioning Hard Disks
- A Better Option: Nondestructive Partitioning
- Mounting and Unmounting File Systems
- Checking File Systems
- Finding Out About File System Use
- Summary
- Chapter 8 Backups and Removable Media
- Backing Up Data to Compressed Archives
- Creating Backup Archives with tar
- Using Compression Tools
- Listing, Joining, and Adding Files to tar Archives
- Backing Up over a Network
- Backing Up tar Archives over ssh
- Backing Up Files with rsync
- Backing Up to CD or DVD
- Working with Time Machine and Time Capsule
- Summary
- Chapter 9 Checking and Running Processes
- Listing Active Processes
- Viewing Active Processes with ps
- Watching Active Processes with top
- Finding and Controlling Processes
- Using grep and pgrep to Find Processes
- Using fuser to Find Processes
- Summary
- Chapter 10 Managing the System
- Monitoring Resources
- Monitoring Memory Use
- Monitoring CPU Usage
- Monitoring Storage Devices
- Mastering Time
- Changing Time Zone
- Displaying and Setting Time and Date
- Using Network Time Protocol to Set Date/Time
- Checking Uptime
- Starting and Stopping Your System
- Straight to the Kernel
- Summary
- Chapter 11 Managing Network Connections
- Configuring Network Interfaces
- Managing Network Interface Cards
- Managing Network Connections
- Starting and Stopping Network Connections
- Starting and Stopping Network Services
- Checking Name Resolution
- Troubleshooting Network Problems
- Checking Connectivity to a Host
- Checking Address Resolution Protocol(ARP)
- Tracing Routes to Hosts
- Displaying netstat Connections and Statistics
- Summary
- Chapter 12 Accessing Network Resources
- Transferring Files
- Downloading Files with Wget
- Transferring Files with curl
- Transferring Files with FTP Commands
- Using SSH Tools to Transfer Files
- Sharing Remote Directories
- Sharing Remote Directories with NFS
- Sharing Remote Directories with Samba
- Chatting with Friends in IRC
- Using Text-Based E-mail Clients
- Summary
- Chapter 13 Remote System Administration
- Remote Login and Tunnelling with SSH
- Configuring SSH
- Logging in Remotely with ssh
- Using screen: A Rich Remote Shell
- Reconnecting to a screen Session
- Naming screen Sessions
- Sharing screen Sessions
- Using a Remote Windows Desktop
- Using Remote Desktop and Applications
- Sharing Your Desktop Using VNC
- Summary
- Chapter 14 Locking Down Security
- Working with Users and Groups
- Managing Users the GUI Way
- Checking on Users
- Configuring the Built-in Firewall
- Working with System Logs
- Summary
- Appendix A Using vi or Vim Editors
- Starting and Quitting the vi Editor
- Moving Around in vi
- Changing and Deleting Text in vi
- Using Miscellaneous Commands
- Modifying Commands with Numbers
- Using Ex Commands
- Working in Visual Mode
- Summary
- Appendix B Shell Special Characters and Variables
- Using Special Shell Characters
- Using Shell Variables
- Appendix C Personal Configuration Files
- Appendix D AppleScript Command Summary
- Appendix E Fink Package Summary
- Appendix F Perl Primer
- Introducing Perl
- Checking Links on a Website
- The Entire Script
- Initializing the Script and Loading Packages
- Targeting the URL and Extracting Links
- Processing the @ links Array
- Running the Script
- Extending the Script
- Index
Loading…
Français
Comments
There are no comments for this title.