Book description
With Unix, 4th Edition: Visual QuickStart Guide, readers can start from the beginning to get a tour of the Unix operating system, or look up specific tasks to learn just what they need to know. This task-based, visual reference guide uses step-by-step instructions and plenty of screenshots, and includes three years worth of new material based on the latest Unix developments. This reference guide details all Unix commands and options along with tips that put those commands in context. Leading Unix authorities Deborah S. Ray and Eric J. Ray leverage their expertise as technical writers and working in the industry (Sun Microsystems) as they take readers step-by-step through the most common Unix commands and options.
Table of contents
- Copyright
- Acknowledgments
- Introduction
-
1. Getting Started with Unix
- Accessing a Unix System
- 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 Which 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
- 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 and 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
- 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
- Setting Aliases with alias
-
9. Running Scripts and Programs
- Running a Command
- Scheduling Onetime 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 E-mail
- Choosing an E-mail Program and Getting Started
- Reading E-mail with pine
- Sending E-mail with pine
- Customizing pine
- Reading E-mail with mutt
- Sending E-mail with mutt
- Reading E-mail with mail
- Sending E-mail with mail
- Creating a Signature File
- Automatically Forwarding Incoming Messages
- Announcing an Absence with vacation
- Configuring procmail
- Managing E-mail 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 Others Using write
- Communicating with Others 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 Web Sites with wget
- Checking Connections with ping
- Tracing Connections with traceroute
- Matching Domain Names with IP Addresses
-
13. Working with Encoded and 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. Using Handy Utilities
- 15. Being Root
-
16. 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. Commands and Flags
Product information
- Title: Unix and Linux: Visual QuickStart Guide, Fourth Edition
- Author(s):
- Release date: June 2009
- Publisher(s): Peachpit Press
- ISBN: 9780321657893
You might also like
book
Unix and Linux: Visual Quickstart Guide, Fifth Edition
In this updated edition, authors Deborah and Eric Ray use crystal-clear instructions and friendly prose to …
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
Shell Programming in Unix, Linux and OS X, Fourth Edition
Shell Programming in Unix, Linux and OS X is a thoroughly updated revision of Kochan and …
book
Introduction to Unix and Shell Programming
Introduction to Unix and Shell Programming is designed to be an introductory first-level book for a …