Book description
What was once regarded as the purview of programmers and administrators is now making its way to users' desktops-most notably via Mac OS X-and users have begun to take note. When you're ready to get to the heart of it all-to the operating system at the core of the Internet, the intranet, and quite possibly your own desktop-there's no better way to start than by consulting with this handy Visual QuickStart Guide. The authors who made Unix comprehensible to the masses are back with Unix, 2nd Edition: Visual QuickStart Guide-completely updated to reflect all that's new in Unix. The book discusses how to run a home network server and use CUPS, Samba, http, and more. Through simple step-by-step instructions, numerous tips, and plenty of visual references, you'll learn everything you need to know to make sense of the flavors, commands, and technical jargon surrounding the Unix operating system. Printing in the Unix environment, managing your system, and more are all covered in the straightforward, approachable style that has become the hallmark of the Visual QuickStart series.
Table of contents
- Copyright
- Acknowledgments
- Introduction
-
1. Getting Started with Unix
- Connecting to the Unix System
- Logging In
- Changing Your Password with passwd
- Listing Directories and Files with ls
- Changing Directories with cd
- Finding Yourself with pwd
- Piping Input and Output
- Redirecting Output
- Using Wildcards
- Viewing File Contents with more
- Displaying File Contents with cat
- Exploring the System
- Getting Help with man
- Logging Out
-
2. Using Directories and Files
- Creating Directories with mkdir
- Creating Files with touch
- Copying Directories and Files with cp
- Listing Directories and Files with ls (More Goodies)
- Moving Files with mv
- Removing Files with rm
- Removing Directories with rmdir
- Finding Forgotten Files with find
- Locating Lost Files with locate
- Linking with ln (Hard Links)
- Linking with ln -s (Soft Links)
-
3. Working with Your Shell
- Discovering What Shell You’re Using
- Understanding Shells and Options
- Changing Your Shell with chsh
- Changing Your Shell Temporarily
- Using Completion in the bash Shell
- Viewing Session History in the bash Shell
- Using Completion in the zsh Shell
- Viewing Session History in the zsh Shell
- Using Completion in the ksh Shell
- Viewing Session History in the ksh Shell
- Viewing Session History in the csh Shell
- Changing Your Identity with su
- Fixing Terminal Settings with stty
- Exiting the Shell
-
4. Creating and Editing Files
- Choosing an Editor
- Starting pico and Dabbling with It
- Saving in pico
- Cutting and Pasting Text Blocks in pico
- Checking Spelling in pico
- Getting Help in pico
- Exiting pico
- Starting vi and Dabbling with It
- Saving in vi
- Adding and Deleting Text in vi
- Importing Files into vi
- Searching and Replacing in vi
- Exiting vi
- Starting emacs and Dabbling with It
- Using emacs Menus to Spell-Check
- Saving in emacs
- Exiting emacs
-
5. Controlling Ownership & Permissions
- Understanding File Ownership and Permissions
- Finding Out Who Owns What
- Finding Out Which Group You’re In
- Changing the Group Association of Files and Directories with chgrp
- Changing Ownership of Files and Directories with chown
- Changing Permissions with chmod
- Translating Mnemonic Permissions to Numeric Permissions
- Changing Permission Defaults with umask
-
6. Manipulating Files
- Counting Files and Their Contents with wc
- Viewing File Beginnings with head
- Viewing File Endings with tail
- Finding Text with grep
- Using Regular Expressions with grep
- Using Other Examples of Regular Expressions
- Making Global Changes with sed
- Changing Files with awk
- Comparing Files with cmp
- Finding Differences in Files with diff
- Finding Differences in Files with sdiff
- Sorting Files with sort
- Eliminating Duplicates with uniq
- Redirecting to Multiple Locations with tee
- Changing with tr
- Formatting with fmt
- Preparing to Print with pr
- Splitting Files with split
- 7. Getting Information About the System
-
8. Configuring Your Unix Environment
- Understanding Your Unix Environment
- Discovering Your Current Environment
- Adding or Changing Variables
- Looking at Your zsh Configuration Files
- Adding to Your zsh Path
- Changing Your zsh Prompt
- Looking at Your bash Configuration Files
- Adding to Your bash Path
- Changing Your bash Prompt
- Looking at Your ksh Configuration Files
- Changing Your ksh Path
- Changing Your ksh Prompt
- Looking at Your csh Configuration Files
- Changing Your csh Path
- Changing Your csh Prompt
- Setting Aliases with alias
-
9. Running Scripts and Programs
- Running a Command
- Scheduling One-Time Jobs with at
- Scheduling Regularly Occurring Jobs with cron
- Suspending Jobs
- Checking Job Status with jobs
- Running Jobs in the Background with bg
- Running Jobs in the Foreground with fg
- Controlling Job Priority with nice
- Timing Jobs with time
- Finding Out What Processes Are Running with ps
- Deleting Processes with kill
- 10. Writing Basic Scripts
-
11. Sending and Reading Email
- Choosing an Email Program and Getting Started
- Reading Email with pine
- Sending Email with pine
- Customizing pine
- Reading Email with mutt
- Sending Email with mutt
- Reading Email with mail
- Sending Email with mail
- Creating a Signature File
- Forwarding Incoming Messages
- Announcing an Absence with vacation
- Configuring procmail
- Responding to Email with procmail
-
12. Accessing the Internet
- Getting Familiar with Unix Internet Lingo
- Logging in to Remote Systems with ssh
- Logging in to Remote Systems with telnet
- Communicating with Other Users Using write
- Communicating with Other Users Using talk
- Getting Files from the Internet with ftp
- Sharing Files on the Internet with ftp
- Surfing the Web with links
- Surfing the Web with lynx
- Downloading the Web with wget
- Checking Connections with ping
- Tracing Connections with traceroute
- Matching Domain Names with IP Numbers
- Choosing a News Reader
- Reading News with pine
- Reading News with tin
-
13. Working with Encoded & Compressed Files
- Encoding Files with uuencode
- Decoding Files with uudecode
- Archiving with tar
- Unarchiving Files with tar
- Compressing Files with compress
- Uncompressing Files with uncompress
- Zipping a File or Directory with gzip
- Unzipping a gzip File with gunzip
- Zipping Files and Directories with zip
- Unzipping Zipped Files with unzip
- Combining Commands
- 14. Installing Your Own Software
- 15. Using Handy Utilities
- 16. Being Root
-
17. Sensational Unix Tricks
- Cleaning up HTML Documents with tidy
- Searching and Replacing Throughout Multiple Documents with sed
- Generating Reports with awk
- Using Input to Customize Your Environment
- Using ROT13 Encoding with sed
- Embedding ROT13 Encoding in a Shell Script
- Making Backups with rsync
- Using Advanced Redirection with stderr
- A. Unix Reference
- B. What’s What and What’s Where
- C. Command Flags
Product information
- Title: Unix: Visual QuickStart Guide, Second Edition
- Author(s):
- Release date: March 2003
- Publisher(s): Peachpit Press
- ISBN: 9780321170101
You might also like
book
Unix: Visual QuickStart Guide
UNIX is the most commonly-used operating system in the world. Once considered too arcane and difficult …
book
Unix Third Edition: Visual Quickstart Guide
Need to learn Unix fast? Try a Visual QuickStart! This best-selling reference’s visual format and step-by-step, …
book
UNIX: The Complete Reference, Second Edition, 2nd Edition
The Definitive UNIX Resource--Fully Updated Get cutting-edge coverage of the newest releases of UNIX--including Solaris 10, …
book
Mac OS X UNIX 101 Byte-Sized Projects
Unix is no longer someone else's OS. With Mac OS X built on top of it, …