Unix power tools

1.4K 2.7K 0
Unix power tools

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Đây là bộ sách tiếng anh cho dân công nghệ thông tin chuyên về bảo mật,lập trình.Thích hợp cho những ai đam mê về công nghệ thông tin,tìm hiểu về bảo mật và lập trình.

• Table of Contents • Index • Reviews • Reader Reviews • Errata UNIX Power Tools, 3rd Edition By Shelley Powers, Jerry Peek, Tim O'Reilly, Mike Loukides, et. al. Publisher : O'Reilly Pub Date : October 2002 ISBN : 0-596-00330-7 Pages : 1136 The latest edition of this best-selling favorite is loaded with vital information on Linux, Darwin, and BSD. Unix Power Tools 3rd Edition now offers more coverage of bash, zsh, and other new shells, along with discussions about modern utilities and applications. Several sections focus on security and Internet access. There is a new chapter on access to Unix from Windows, and expanded coverage of software installation and packaging, as well as basic information on Perl and Python. 777 Copyright How to Use This Book Preface A Book for Browsing Like an Almanac Like a News Magazine Like a Hypertext Database Programs on the Web About Unix Versions Cross-References What's New in the Third Edition Typefaces and Other Conventions The Authors The Fine Print Request for Comments Acknowledgments for the First Edition Acknowledgments for the Second Edition Acknowledgments for the Third Edition Part I: Basic Unix Environment Chapter 1. Introduction Section 1.1. What's Special About Unix? Section 1.2. Power Grows on You Section 1.3. The Core of Unix Section 1.4. Communication with Unix Section 1.5. Programs Are Designed to Work Together Section 1.6. There Are Many Shells Section 1.7. Which Shell Am I Running? Section 1.8. Anyone Can Program the Shell Section 1.9. Internal and External Commands Section 1.10. The Kernel and Daemons Section 1.11. Filenames Section 1.12. Filename Extensions Section 1.13. Wildcards Section 1.14. The Tree Structure of the Filesystem Section 1.15. Your Home Directory Section 1.16. Making Pathnames Section 1.17. File Access Permissions Section 1.18. The Superuser (Root) Section 1.19. When Is a File Not a File? Section 1.20. Scripting Section 1.21. Unix Networking and Communications Section 1.22. The X Window System Chapter 2. Getting Help Section 2.1. The man Command Section 2.2. whatis: One-Line Command Summaries Section 2.3. whereis: Finding Where a Command Is Located Section 2.4. Searching Online Manual Pages Section 2.5. How Unix Systems Remember Their Names Section 2.6. Which Version Am I Using? Section 2.7. What tty Am I On? Section 2.8. Who's On? Section 2.9. The info Command Part II: Customizing Your Environment Chapter 3. Setting Up Your Unix Shell Section 3.1. What Happens When You Log In Section 3.2. The Mac OS X Terminal Application Section 3.3. Shell Setup Files — Which, Where, and Why Section 3.4. Login Shells, Interactive Shells Section 3.5. What Goes in Shell Setup Files? Section 3.6. Tip for Changing Account Setup: Keep a Shell Ready Section 3.7. Use Absolute Pathnames in Shell Setup Files Section 3.8. Setup Files Aren't Read When You Want? Section 3.9. Gotchas in set prompt Test Section 3.10. Automatic Setups for Different Terminals Section 3.11. Terminal Setup: Testing TERM Section 3.12. Terminal Setup: Testing Remote Hostname and X Display Section 3.13. Terminal Setup: Testing Port Section 3.14. Terminal Setup: Testing Environment Variables Section 3.15. Terminal Setup: Searching Terminal Table Section 3.16. Terminal Setup: Testing Window Size Section 3.17. Terminal Setup: Setting and Testing Window Name Section 3.18. A .cshrc.$HOST File for Per Host Setup Section 3.19. Making a "Login" Shell Section 3.20. RC Files Section 3.21. Make Your Own Manpages Without Learning troff Section 3.22. Writing a Simple Manpage with the -man Macros Chapter 4. Interacting with Your Environment Section 4.1. Basics of Setting the Prompt Section 4.2. Static Prompts Section 4.3. Dynamic Prompts Section 4.4. Simulating Dynamic Prompts Section 4.5. C-Shell Prompt Causes Problems in vi, rsh, etc. Section 4.6. Faster Prompt Setting with Built-ins Section 4.7. Multiline Shell Prompts Section 4.8. Session Info in Window Title or Status Line Section 4.9. A "Menu Prompt" for Naive Users Section 4.10. Highlighting and Color in Shell Prompts Section 4.11. Right-Side Prompts Section 4.12. Show Subshell Level with $SHLVL Section 4.13. What Good Is a Blank Shell Prompt? Section 4.14. dirs in Your Prompt: Better Than $cwd Section 4.15. External Commands Send Signals to Set Variables Section 4.16. Preprompt, Pre-execution, and Periodic Commands Section 4.17. Running Commands When You Log Out Section 4.18. Running Commands at Bourne/Korn Shell Logout Section 4.19. Stop Accidental Bourne-Shell Logouts Chapter 5. Getting the Most out of Terminals, xterm, and X Windows Section 5.1. There's a Lot to Know About Terminals Section 5.2. The Idea of a Terminal Database Section 5.3. Setting the Terminal Type When You Log In Section 5.4. Querying Your Terminal Type: qterm Section 5.5. Querying Your xterm Size: resize Section 5.6. Checklist: Terminal Hangs When I Log In Section 5.7. Find Out Terminal Settings with stty Section 5.8. Setting Your Erase, Kill, and Interrupt Characters Section 5.9. Working with xterm and Friends Section 5.10. Login xterms and rxvts Section 5.11. Working with Scrollbars Section 5.12. How Many Lines to Save? Section 5.13. Simple Copy and Paste in xterm Section 5.14. Defining What Makes Up a Word for Selection Purposes Section 5.15. Setting the Titlebar and Icon Text Section 5.16. The Simple Way to Pick a Font Section 5.17. The xterm Menus Section 5.18. Changing Fonts Dynamically Section 5.19. Working with xclipboard Section 5.20. Problems with Large Selections Section 5.21. Tips for Copy and Paste Between Windows Section 5.22. Running a Single Command with xterm -e Section 5.23. Don't Quote Arguments to xterm -e Chapter 6. Your X Environment Section 6.1. Defining Keys and Button Presses with xmodmap Section 6.2. Using xev to Learn Keysym Mappings Section 6.3. X Resource Syntax Section 6.4. X Event Translations Section 6.5. Setting X Resources: Overview Section 6.6. Setting Resources with the -xrm Option Section 6.7. How -name Affects Resources Section 6.8. Setting Resources with xrdb Section 6.9. Listing the Current Resources for a Client: appres Section 6.10. Starting Remote X Clients Part III: Working with Files and Directories Chapter 7. Directory Organization Section 7.1. What? Me, Organized? Section 7.2. Many Homes Section 7.3. Access to Directories Section 7.4. A bin Directory for Your Programs and Scripts Section 7.5. Private (Personal) Directories Section 7.6. Naming Files Section 7.7. Make More Directories! Section 7.8. Making Directories Made Easier Chapter 8. Directories and Files Section 8.1. Everything but the find Command Section 8.2. The Three Unix File Times Section 8.3. Finding Oldest or Newest Files with ls -t and ls -u Section 8.4. List All Subdirectories with ls -R Section 8.5. The ls -d Option Section 8.6. Color ls Section 8.7. Some GNU ls Features Section 8.8. A csh Alias to List Recently Changed Files Section 8.9. Showing Hidden Files with ls -A and -a Section 8.10. Useful ls Aliases Section 8.11. Can't Access a File? Look for Spaces in the Name Section 8.12. Showing Nonprintable Characters in Filenames Section 8.13. Counting Files by Types Section 8.14. Listing Files by Age and Size Section 8.15. newer: Print the Name of the Newest File Section 8.16. oldlinks: Find Unconnected Symbolic Links Section 8.17. Picking a Unique Filename Automatically Chapter 9. Finding Files with find Section 9.1. How to Use find Section 9.2. Delving Through a Deep Directory Tree Section 9.3. Don't Forget -print Section 9.4. Looking for Files with Particular Names Section 9.5. Searching for Old Files Section 9.6. Be an Expert on find Search Operators Section 9.7. The Times That find Finds Section 9.8. Exact File-Time Comparisons Section 9.9. Running Commands on What You Find Section 9.10. Using -exec to Create Custom Tests Section 9.11. Custom -exec Tests Applied Section 9.12. Finding Many Things with One Command Section 9.13. Searching for Files by Type Section 9.14. Searching for Files by Size Section 9.15. Searching for Files by Permission Section 9.16. Searching by Owner and Group Section 9.17. Duplicating a Directory Tree Section 9.18. Using "Fast find" Databases Section 9.19. Wildcards with "Fast find" Database Section 9.20. Finding Files (Much) Faster with a find Database Section 9.21. grepping a Directory Tree Section 9.22. lookfor: Which File Has That Word? Section 9.23. Using Shell Arrays to Browse Directories Section 9.24. Finding the (Hard) Links to a File Section 9.25. Finding Files with -prune Section 9.26. Quick finds in the Current Directory Section 9.27. Skipping Parts of a Tree in find Section 9.28. Keeping find from Searching Networked Filesystem Chapter 10. Linking, Renaming, and Copying Files Section 10.1. What's So Complicated About Copying Files Section 10.2. What's Really in a Directory? Section 10.3. Files with Two or More Names Section 10.4. More About Links Section 10.5. Creating and Removing Links Section 10.6. Stale Symbolic Links Section 10.7. Linking Directories Section 10.8. Showing the Actual Filenames for Symbolic Links Section 10.9. Renaming, Copying, or Comparing a Set of Files Section 10.10. Renaming a List of Files Interactively Section 10.11. One More Way to Do It Section 10.12. Copying Directory Trees with cp -r Section 10.13. Copying Directory Trees with tar and Pipes Chapter 11. Comparing Files Section 11.1. Checking Differences with diff Section 11.2. Comparing Three Different Versions with diff3 Section 11.3. Context diffs Section 11.4. Side-by-Side diffs: sdiff Section 11.5. Choosing Sides with sdiff Section 11.6. Problems with diff and Tabstops Section 11.7. cmp and diff Section 11.8. Comparing Two Files with comm Section 11.9. More Friendly comm Output Section 11.10. make Isn't Just for Programmers! Section 11.11. Even More Uses for make Chapter 12. Showing What's in a File Section 12.1. Cracking the Nut Section 12.2. What Good Is a cat? Section 12.3. "less" is More Section 12.4. Show Nonprinting Characters with cat -v or od -c Section 12.5. What's in That Whitespace? Section 12.6. Finding File Types Section 12.7. Squash Extra Blank Lines Section 12.8. How to Look at the End of a File: tail Section 12.9. Finer Control on tail Section 12.10. How to Look at Files as They Grow Section 12.11. GNU tail File Following Section 12.12. Printing the Top of a File Section 12.13. Numbering Lines Chapter 13. Searching Through Files Section 13.1. Different Versions of grep Section 13.2. Searching for Text with grep Section 13.3. Finding Text That Doesn't Match Section 13.4. Extended Searching for Text with egrep Section 13.5. grepping for a List of Patterns Section 13.6. Approximate grep: agrep Section 13.7. Search RCS Files with rcsgrep Section 13.8. GNU Context greps Section 13.9. A Multiline Context grep Using sed Section 13.10. Compound Searches Section 13.11. Narrowing a Search Quickly Section 13.12. Faking Case-Insensitive Searches Section 13.13. Finding a Character in a Column Section 13.14. Fast Searches and Spelling Checks with "look" Section 13.15. Finding Words Inside Binary Files Section 13.16. A Highlighting grep Chapter 14. Removing Files Section 14.1. The Cycle of Creation and Destruction Section 14.2. How Unix Keeps Track of Files: Inodes Section 14.3. rm and Its Dangers Section 14.4. Tricks for Making rm Safer Section 14.5. Answer "Yes" or "No" Forever with yes Section 14.6. Remove Some, Leave Some Section 14.7. A Faster Way to Remove Files Interactively Section 14.8. Safer File Deletion in Some Directories Section 14.9. Safe Delete: Pros and Cons Section 14.10. Deletion with Prejudice: rm -f Section 14.11. Deleting Files with Odd Names Section 14.12. Using Wildcards to Delete Files with Strange Names Section 14.13. Handling a Filename Starting with a Dash (-) Section 14.14. Using unlink to Remove a File with a Strange Name Section 14.15. Removing a Strange File by its i-number Section 14.16. Problems Deleting Directories Section 14.17. Deleting Stale Files Section 14.18. Removing Every File but One Section 14.19. Using find to Clear Out Unneeded Files Chapter 15. Optimizing Disk Space Section 15.1. Disk Space Is Cheap Section 15.2. Instead of Removing a File, Empty It Section 15.3. Save Space with "Bit Bucket" Log Files and Mailboxes Section 15.4. Save Space with a Link Section 15.5. Limiting File Sizes Section 15.6. Compressing Files to Save Space Section 15.7. Save Space: tar and compress a Directory Tree Section 15.8. How Much Disk Space? Section 15.9. Compressing a Directory Tree: Fine-Tuning Section 15.10. Save Space in Executable Files with strip Section 15.11. Disk Quotas Part IV: Basic Editing Chapter 16. Spell Checking, Word Counting, and Textual Analysis Section 16.1. The Unix spell Command Section 16.2. Check Spelling Interactively with ispell Section 16.3. How Do I Spell That Word? Section 16.4. Inside spell Section 16.5. Adding Words to ispell's Dictionary Section 16.6. Counting Lines, Words, and Characters: wc Section 16.7. Find a a Doubled Word Section 16.8. Looking for Closure Section 16.9. Just the Words, Please Chapter 17. vi Tips and Tricks Section 17.1. The vi Editor: Why So Much Material? Section 17.2. What We Cover Section 17.3. Editing Multiple Files with vi Section 17.4. Edits Between Files Section 17.5. Local Settings for vi Section 17.6. Using Buffers to Move or Copy Text Section 17.7. Get Back What You Deleted with Numbered Buffers Section 17.8. Using Search Patterns and Global Commands Section 17.9. Confirming Substitutions in vi Section 17.10. Keep Your Original File, Write to a New File Section 17.11. Saving Part of a File Section 17.12. Appending to an Existing File Section 17.13. Moving Blocks of Text by Patterns Section 17.14. Useful Global Commands (with Pattern Matches) Section 17.15. Counting Occurrences; Stopping Search Wraps Section 17.16. Capitalizing Every Word on a Line Section 17.17. Per-File Setups in Separate Files Section 17.18. Filtering Text Through a Unix Command Section 17.19. vi File Recovery Versus Networked Filesystems Section 17.20. Be Careful with vi -r Recovered Buffers Section 17.21. Shell Escapes: Running One UnixCommand While Using Another Section 17.22. vi Compound Searches Section 17.23. vi Word Abbreviation Section 17.24. Using vi Abbreviations as Commands (Cut and Paste Between vi's) Section 17.25. Fixing Typos with vi Abbreviations Section 17.26. vi Line Commands Versus Character Commands Section 17.27. Out of Temporary Space? Use Another Directory Section 17.28. Neatening Lines Section 17.29. Finding Your Place with Undo Section 17.30. Setting Up vi with the .exrc File Chapter 18. Creating Custom Commands in vi Section 18.1. Why Type More Than You Have To? Section 18.2. Save Time and Typing with the vi map Commands Section 18.3. What You Lose When You Use map! Section 18.4. vi @-Functions Section 18.5. Keymaps for Pasting into a Window Running vi Section 18.6. Protecting Keys from Interpretation by ex Section 18.7. Maps for Repeated Edits Section 18.8. More Examples of Mapping Keys in vi Section 18.9. Repeating a vi Keymap Section 18.10. Typing in Uppercase Without CAPS LOCK Section 18.11. Text-Input Mode Cursor Motion with No Arrow Keys Section 18.12. Don't Lose Important Functions with vi Maps: Use noremap Section 18.13. vi Macro for Splitting Long Lines Section 18.14. File-Backup Macros Chapter 19. GNU Emacs Section 19.1. Emacs: The Other Editor Section 19.2. Emacs Features: A Laundry List Section 19.3. Customizations and How to Avoid Them Section 19.4. Backup and Auto-Save Files Section 19.5. Putting Emacs in Overwrite Mode Section 19.6. Command Completion Section 19.7. Mike's Favorite Timesavers Section 19.8. Rational Searches Section 19.9. Unset PWD Before Using Emacs Section 19.10. Inserting Binary Characters into Files Section 19.11. Using Word-Abbreviation Mode Section 19.12. Directories for Emacs Hacks Section 19.13. An Absurd Amusement Chapter 20. Batch Editing Section 20.1. Why Line Editors Aren't Dinosaurs Section 20.2. Writing Editing Scripts Section 20.3. Line Addressing Section 20.4. Useful ex Commands Section 20.5. Running Editing Scripts Within vi Section 20.6. Change Many Files by Editing Just One Section 20.7. ed/ex Batch Edits: A Typical Example Section 20.8. Batch Editing Gotcha: Editors Fail on Big Files Section 20.9. patch: Generalized Updating of Files That Differ Section 20.10. Quick Reference: awk Section 20.11. Versions of awk Chapter 21. You Can't Quite Call This Editing Section 21.1. And Why Not? Section 21.2. Neatening Text with fmt Section 21.3. Alternatives to fmt Section 21.4. Clean Up Program Comment Blocks Section 21.5. Remove Mail/News Headers with behead Section 21.6. Low-Level File Butchery with dd Section 21.7. offset: Indent Text Section 21.8. Centering Lines in a File Section 21.9. Splitting Files at Fixed Points: split Section 21.10. Splitting Files by Context: csplit Section 21.11. Hacking on Characters with tr Section 21.12. Encoding "Binary" Files into ASCII Section 21.13. Text Conversion with dd Section 21.14. Cutting Columns or Fields Section 21.15. Making Text in Columns with pr Section 21.16. Make Columns Automatically with column Section 21.17. Straightening Jagged Columns Section 21.18. Pasting Things in Columns Section 21.19. Joining Lines with join Section 21.20. What Is (or Isn't) Unique? Section 21.21. Rotating Text Chapter 22. Sorting Section 22.1. Putting Things in Order Section 22.2. Sort Fields: How sort Sorts Section 22.3. Changing the sort Field Delimiter Section 22.4. Confusion with Whitespace Field Delimiters Section 22.5. Alphabetic and Numeric Sorting Section 22.6. Miscellaneous sort Hints Section 22.7. lensort: Sort Lines by Length Section 22.8. Sorting a List of People by Last Name Part V: Processes and the Kernel Chapter 23. Job Control Section 23.1. Job Control in a Nutshell Section 23.2. Job Control Basics Section 23.3. Using jobs Effectively Section 23.4. Some Gotchas with Job Control Section 23.5. The "Current Job" Isn't Always What You Expect Section 23.6. Job Control and autowrite: Real Timesavers! Section 23.7. System Overloaded? Try Stopping Some Jobs Section 23.8. Notification When Jobs Change State Section 23.9. Stop Background Output with stty tostop Section 23.10. nohup Section 23.11. Disowning Processes Section 23.12. Linux Virtual Consoles Section 23.13. Stopping Remote Login Sessions Chapter 24. Starting, Stopping, and Killing Processes Section 24.1. What's in This Chapter Section 24.2. fork and exec Section 24.3. Managing Processes: Overall Concepts Section 24.4. Subshells Section 24.5. The ps Command Section 24.6. The Controlling Terminal Section 24.7. Tracking Down Processes Section 24.8. Why ps Prints Some Commands in Parentheses Section 24.9. The /proc Filesystem Section 24.10. What Are Signals? Section 24.11. Killing Foreground Jobs Section 24.12. Destroying Processes with kill Section 24.13. Printer Queue Watcher: A Restartable Daemon Shell Script Section 24.14. Killing All Your Processes Section 24.15. Killing Processes by Name? Section 24.16. Kill Processes Interactively Section 24.17. Processes Out of Control? Just STOP Them Section 24.18. Cleaning Up an Unkillable Process Section 24.19. Why You Can't Kill a Zombie Section 24.20. The Process Chain to Your Window Section 24.21. Terminal Windows Without Shells Section 24.22. Close a Window by Killing Its Process(es) Chapter 25. Delayed Execution Section 25.1. Building Software Robots the Easy Way Section 25.2. Periodic Program Execution: The cron Facility Section 25.3. Adding crontab Entries Section 25.4. Including Standard Input Within a cron Entry Section 25.5. The at Command Section 25.6. Making Your at Jobs Quiet Section 25.7. Checking and Removing Jobs Section 25.8. Avoiding Other at and cron Jobs Section 25.9. Waiting a Little While: sleep Chapter 26. System Performance and Profiling Section 26.1. Timing Is Everything Section 26.2. Timing Programs Section 26.3. What Commands Are Running and How Long Do They Take? Section 26.4. Checking System Load: uptime Section 26.5. Know When to Be "nice" to Other Users and When Not To Section 26.6. A nice Gotcha Section 26.7. Changing a Running Job's Niceness Part VI: Scripting Chapter 27. Shell Interpretation Section 27.1. What the Shell Does Section 27.2. How the Shell Executes Other Commands Section 27.3. What's a Shell, Anyway? Section 27.4. Command Evaluation and Accidentally Overwriting Files Section 27.5. Output Command-Line Arguments One by One Section 27.6. Controlling Shell Command Searches Section 27.7. Wildcards Inside Aliases Section 27.8. eval: When You Need Another Chance Section 27.9. Which One Will bash Use? Section 27.10. Which One Will the C Shell Use? Section 27.11. Is It "2>&1 file" or "> file 2>&1"? Why? Section 27.12. Bourne Shell Quoting Section 27.13. Differences Between Bourne and C Shell Quoting Section 27.14. Quoting Special Characters in Filenames Section 27.15. Verbose and Echo Settings Show Quoting Section 27.16. Here Documents Section 27.17. "Special" Characters and Operators Section 27.18. How Many Backslashes? Chapter 28. Saving Time on the Command Line Section 28.1. What's Special About the Unix Command Line Section 28.2. Reprinting Your Command Line with CTRL-r Section 28.3. Use Wildcards to Create Files? Section 28.4. Build Strings with { } Section 28.5. String Editing (Colon) Operators Section 28.6. Automatic Completion Section 28.7. Don't Match Useless Files in Filename Completion Section 28.8. Repeating Commands Section 28.9. Repeating and Varying Commands Section 28.10. Repeating a Command with Copy-and-Paste Section 28.11. Repeating a Time-Varying Command Section 28.12. Multiline Commands, Secondary Prompts Section 28.13. Here Document Example #1: Unformatted Form Letters Section 28.14. Command Substitution Section 28.15. Handling Lots of Text with Temporary Files [...]... that we copublish a Unix book for Bantam's "Power Tools" series This made sense for both of us It gave Bantam access to our Unix expertise and reputation, and it gave us a chance to learn from Bantam about the mass market bookstore trade, as well as build on their successful "Power Tools" series But what would the book contain? There were two features of Bantam's original DOS Power Tools that we decided... 1.20 Scripting 1.21 Unix Networking and Communications 1.22 The X Window System 1.1 What's Special About Unix? If we were writing about any other operating system, "power tools" might mean "nifty add-on utilities to extend the power of your operating system." That sounds suspiciously like a definition of Unix: an operating system loaded with decades' worth of nifty add-on utilities Unix is unique in... just for putting up with me through it, and Jasper, for being my strength when I needed it —Deborah Hooker Part I: Basic Unix Environment Chapter 1 Chapter 2 CONTENTS Chapter 1 Introduction 1.1 What's Special About Unix? 1.2 Power Grows on You 1.3 The Core of Unix 1.4 Communication with Unix 1.5 Programs Are Designed to Work Together 1.6 There Are Many Shells 1.7 Which Shell Am I Running? 1.8 Anyone Can... contribute their time and efforts on Unix systems, particularly the open source versions of Unix such as FreeBSD, Linux, and now Darwin —Shelley Powers I'd just like to thank you all for inviting me to contribute to a book that helped me learn Unix a long time ago It's nice to be able to give something back, given how much the book helped me back in 1994 when I was just another Unix newbie —Steven Champeon... been made part of Unix over the years Unix is also important to power users because it's one of the last popular operating systems that doesn't force you to work behind an interface of menus, windows, and mouse with a "one-size(-doesn't)-fit-all" programming interface Yes, you can use Unix interfaces with windows and menus — and they can be great time savers in a lot of cases But Unix also gives you... which chapters on each of the major Unix tools follow one another in predictable succession Our goal was certainly to provide essential technical information on Unix utilities, but more importantly, to show how the utilities can be combined and used to solve common (and uncommon) problems Similarly, because we were weary of the multitude of endless tutorial books about Unix utilities, we wanted to keep... programmers During the commercialization of Unix within the past several years, this incorporation of outside software has slowed down for larger Unix installations, such as Sun's Solaris and HP's hp-ux, but not stopped entirely This is especially true with the newer lighter versions of Unix, such as the various flavors of Linux and Darwin Therefore, a book on Unix inevitably has to focus not just on... build the rich texture of the Unix culture that we've tried to reflect in this book Jerry also singles out one major contributor to his own mastery of Unix He says: "Daniel Romike of Tektronix, Inc (who wrote Section 28.5 and Section 30.8 in the early 1980s, by the way) led the first Unix workshop I attended He took the time to answer a ton of questions as I taught myself Unix in the early 1980s I'm... set of menus If you learn to use Unix and its utilities from the command line, you don't have to be a programmer to do very powerful things with a few keystrokes So, it's also essential that this book teach you some of the underlying principles that make Unix such a tinkerer's paradise In the body of this book, we assume that you are already moderately familiar with Unix — a journeyman hacker wanting... also avoided a lot of the transitional material that makes reading most books a chore —TOR, JP, and SP 1.2 Power Grows on You It has been said that Unix is not an operating system as much as it is a way of thinking In The UNIX Programming Environment, Kernighan and Pike write that at the heart of the Unix philosophy "is the idea . of Contents • Index • Reviews • Reader Reviews • Errata UNIX Power Tools, 3rd Edition By Shelley Powers, Jerry Peek, Tim O'Reilly, Mike Loukides, et Basic Unix Environment Chapter 1. Introduction Section 1.1. What's Special About Unix? Section 1.2. Power Grows on You Section 1.3. The Core of Unix

Ngày đăng: 19/03/2014, 13:36

Từ khóa liên quan

Mục lục

  • UNIX Power Tools, 3rd Edition

    • Copyright

    • How to Use This Book

    • Preface

      • A Book for Browsing

      • Like an Almanac

      • Like a News Magazine

      • Like a Hypertext Database

      • Programs on the Web

      • About Unix Versions

      • Cross-References

      • What's New in the Third Edition

      • Typefaces and Other Conventions

      • The Authors

      • The Fine Print

      • Request for Comments

      • Acknowledgments for the First Edition

      • Acknowledgments for the Second Edition

      • Acknowledgments for the Third Edition

      • Part I: Basic Unix Environment

        • Chapter 1. Introduction

          • 1.1 What's Special About Unix?

          • 1.2 Power Grows on You

          • 1.3 The Core of Unix

Tài liệu cùng người dùng

Tài liệu liên quan