| | Copyright |
| | Acknowledgments |
| | Introduction |
| | | How Do You Use This Book? |
| | Chapter 1. Getting Started with Unix |
| | | Getting Unix or Access to 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 |
| | Chapter 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) |
| | Chapter 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 |
| | Chapter 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 |
| | Chapter 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 |
| | Chapter 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 |
| | Chapter 7. Getting Information about the System |
| | | Getting System Information with uname |
| | | Viewing File Systems with df |
| | | Determining Disk Usage with du |
| | | Finding Out File Types with file |
| | | Finding Out About Users with finger |
| | | Learning Who Else is Logged in With who |
| | | Learning Who Else is Logged in with w |
| | | Getting Information about Your Userid with id |
| | Chapter 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 |
| | Chapter 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 |
| | Chapter 10. Writing Basic Scripts |
| | | Creating a Shell Script |
| | | Running a Shell Script |
| | | Making a Script Executable |
| | | Getting a Head Start on Scripts with history |
| | | Embedding Commands |
| | | Looping Your Scripts |
| | | Creating If-Then Statements |
| | | Accepting Command-Line Arguments in Your Scripts |
| | | Accepting Input While a Script Is Running |
| | | Debugging Scripts |
| | Chapter 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 |
| | | Automatically Forwarding Incoming Messages |
| | | Announcing an Absence with vacation |
| | | Configuring procmail |
| | | Responding to Email with procmail |
| | Chapter 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 Web Sites 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 |
| | Chapter 13. Working with Encoded &Compressed Files |
| | | Encoding Files with uuencode |
| | | Section 13.2. 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 |
| | Chapter 14. Installing Your Own Software |
| | | Understanding Unix Software Installation |
| | | Finding Unix Software |
| | | Downloading, Placing, and Uncompressing Software |
| | | Configuring Software |
| | | Compiling and Installing with make install |
| | Chapter 15. Using Handy Utilities |
| | | Calendaring with cal |
| | | Calculating with bc |
| | | Evaluating Expressions with expr |
| | | Converting with units |
| | | Checking Spelling with ispell |
| | | Looking it Up with look |
| | | Printing with lp |
| | | Keeping a Record of Your Session with script |
| | Chapter 16. Being Root |
| | | Acting Like root with sudo |
| | | Becoming root with su |
| | | Starting, Stopping, and Restarting Daemons |
| | | Changing the System Configuration |
| | | Monitoring the System |
| | | Keeping Up with watch |
| | | Checking Boot Messages with dmesg |
| | | Setting the Date and Time |
| | Chapter 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 |
| | Appendix A. Unix Reference |
| | Appendix B. What's What and What's Where |
| | Appendix C. Commands and Flags |
| | Index |