Home Page Icon
Home Page
Table of Contents for
Learning Unix for Mac OS X, 2nd Edition
Close
Learning Unix for Mac OS X, 2nd Edition
by Dave Taylor, Brian Jepson
Learning Unix for Mac OS X, Second Edition
Learning Unix for Mac OS X, 2nd Edition
Preface
Mac OS X and the Unix Family of Operating Systems
Versions of Unix
Interfaces to Unix
What This Handbook Covers
Format
Graphical User Interface Features
Unix Commands
Examples
Problem Checklist
Exercises
Comments and Questions
The Evolution of This Book
Acknowledgments for Dave Taylor
Acknowledgments for Brian Jepson
1. Getting Started
Working in the Unix Environment
The Shell Prompt
Entering a Command Line
date
who
Recalling Previous Commands
Correcting a Command Line
Ending Your Session
Problem checklist
Syntax of Unix Command Lines
Exercise: Entering a Few Commands
Types of Commands
The Unresponsive Terminal
2. Using Unix
The Mac OS X Filesystem
Your Home Directory
Your Working Directory
The Directory Tree
Absolute Pathnames
Relative Pathnames
Pathname puzzle
Relative pathnames up
Changing Your Working Directory
pwd
cd
Files in the Directory Tree
Listing Files with ls
Calculating File Size
Completing File and Directory Names
Exercise: Exploring the Filesystem
Looking Inside Files with less
Protecting and Sharing Files
Directory Access Permissions
File Access Permissions
Setting Permissions with chmod
Problem checklist
Changing Group and Owner
Changing Your Password
Superuser Privileges with sudo
Graphical Filesystem Browsers
3. File Management
File and Directory Names
File and Directory Wildcards
Creating and Editing Files
Text Editors and Word Processors
The vi Text Editor
vi tour
Managing Your Files
Creating Directories with mkdir
Copying Files
cp
Problem checklist
Copying Mac files with resources
Renaming and Moving Files with mv
Finding Files
Removing Files and Directories
rm
rmdir
Problem checklist
Files on Other Operating Systems
4. Customizing Your Session
Launching Terminal
Changing Terminal Preferences
Shell
Processes
Emulation
Buffer
Display
Color
Window
Customizing Your Shell Environment
Changing Your Prompt
Creating Aliases
Setting the Terminal Title
Using AppleScript to Manipulate the Terminal
Further Customization
5. Printing
Formatting and Print Commands
pr
enscript
lpr
Problem checklist
Viewing the Printer Queue
lpq
lprm
atprint
Non-PostScript Printers
6. Redirecting I/O
Standard Input and Standard Output
Putting Text in a File
cat
Pipes and Filters
grep
sort
Piping to a Pager
Exercise: Redirecting Input/Output
7. Accessing the Internet
Remote Logins
Web and FTP Access
Remote Access to Other Unix Systems
About Security
Transferring Files
scp and rcp
FTP
Command-line ftp
SFTP: FTP to secure sites
FTP with a web browser
Other FTP solutions
Practice
8. Unix-Based Internet Tools
Fink
Installing Packages
Listing Available Packages
Lynx, a Text-Based Web Browser
Electronic Mail with Pine
Configuring Pine
Configuring Pine to send and receive email
Reading Email with Pine
Sending Email with Pine
Pine address book
Exercise: Sending and Reading Mail
Usenet News
Interactive Chat
talk
IRC
Introducing IRC
A sample IRC session
9. Multitasking
Running a Command in the Background
Checking on a Process
ps
Canceling a Process
kill
Problem checklist
10. Where to Go from Here
Documentation
The man Command
Problem checklist
Documentation via the Internet
Books
Shell Aliases and Functions
Programming
Glossary
Index
Colophon
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Cover
Next
Next Chapter
Preface
Learning Unix for Mac OS X, 2nd Edition
Brian Jepson
Dave Taylor
Editor
Nathan Torkington
Copyright © 2002 O'Reilly Media, Inc.
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset