Unix Power Tools

Front Cover
"O'Reilly Media, Inc.", Oct 28, 2002 - Computers - 1156 pages

With the growing popularity of Linux and the advent of Darwin, Unix has metamorphosed into something new and exciting. No longer perceived as a difficult operating system, more and more users are discovering the advantages of Unix for the first time. But whether you are a newcomer or a Unix power user, you'll find yourself thumbing through the goldmine of information in the new edition of Unix Power Tools to add to your store of knowledge. Want to try something new? Check this book first, and you're sure to find a tip or trick that will prevent you from learning things the hard way.The latest edition of this best-selling favorite is loaded with advice about almost every aspect of Unix, covering all the new technologies that users need to know. In addition to 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. And there is a new chapter on access to Unix from Windows, addressing the heterogeneous nature of systems today. You'll also find expanded coverage of software installation and packaging, as well as basic information on Perl and Python.Unix Power Tools 3rd Edition is a browser's book...like a magazine that you don't read from start to finish, but leaf through repeatedly until you realize that you've read it all. Bursting with cross-references, interesting sidebars explore syntax or point out other directions for exploration, including relevant technical details that might not be immediately apparent. The book includes articles abstracted from other O'Reilly books, new information that highlights program tricks and gotchas, tips posted to the Net over the years, and other accumulated wisdom.Affectionately referred to by readers as "the" Unix book, UNIX Power Tools provides access to information every Unix user is going to need to know. It will help you think creatively about UNIX, and will help you get to the point where you can analyze your own problems. Your own solutions won't be far behind.

From inside the book

Contents

Shell Interpretation
25-23
Saving Time on the Command Line
27-29
Custom Commands
29-1
The Use of History
30-2
Moving Around in a Hurry
30-26
Regular Expressions Pattern Matching
31-16
Wildcards
32-24
The sed Stream Editor
34-1

Directories and Files
6-26
Finding Files with find
8-17
Linking Renaming and Copying Files
9-30
Comparing Files
10-15
Showing Whats in a File
11-15
Searching Through Files
13-1
Removing Files
13-16
Optimizing Disk Space
13-31
Part IV
13-47
Spell Checking Word Counting and Textual Analysis
13-49
vi Tips and Tricks
17-2
Creating Custom Commands in vi
17-30
GNU Emacs
18-15
Batch Editing
19-12
You Cant Quite Call This Editing
20-22
Sorting
21-31
Part V
22-12
Job Control
22-14
Starting Stopping and Killing Processes
23-15
Delayed Execution
23-52
System Performance and Profiling
25-10
Part VI
25-21
Shell Programming for the Uninitiated
34-31
Shell Programming for the Initiated
36-1
Shell Script Debugging and Gotchas
36-35
Part VII
37-10
Backing Up Files
38-1
Creating and Reading Archives
38-18
Software Installation
39-11
Perl
39-28
Python
39-58
Part VIII
42-12
Redirecting Input and Output
42-14
Devices
44-1
Printing
44-14
Connectivity
45-22
Connecting to MS Windows
46-14
Part IX
47-15
Security Basics
48-1
Root Group and User Management
49-1
File Security Ownership and Sharing
49-13
SSH
50-16
Glossary
50-35
Index
50-42

Other editions - View all

Common terms and phrases

Popular passages

Page 6-13 - bigger: 0.0" refused by server Xlib: Client is not authorized to connect to server Error: Can't open display...
Page 17-5 - With a screen editor you can scroll the page, move the cursor, delete lines, insert characters and more, while seeing results of your edits as you make them.
Page 39-29 - Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5.0 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using 'man perl
Page 39-54 - Pathologically Eclectic Rubbish Lister'. He describes Perl as: '...an interpreted language optimized for scanning arbitrary text files, extracting information from those text files, and printing reports based on that information. It's also a good language for many system management tasks. The language is intended to be practical (easy to use, efficient, complete) rather than beautiful (tiny, elegant, minimal). It combines...
Page 17-11 - SYNTAX" .nf integer*4 stat, retval integerM status (11) character*123 filename retval = stat (filename, status) .fi .Rh "DESCRIPTION" Writes the fields of a system data structure into the status array. These fields contain (among other things) information about the file's location, access privileges, owner, and time of last modification.
Page 39-58 - Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java. Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing. There are interfaces to many system calls and libraries, as well as to various windowing systems (XI 1, Motif, Tk, Mac, MFC). New built-in modules are easily written in C or C++. Python is also usable as an extension language...
Page 23-54 - An entry in any of these fields can be a single number, a pair of numbers separated by a dash (indicating a range of numbers), a comma-separated list of numbers and/or ranges, or an asterisk (a wildcard that represents all valid values for that field).
Page 17-18 - Date: Thu, 19 Nov 1999 09:59:00 EST To: jerry A copy of an editor buffer of your file "afile" was saved when the system went down. This buffer can be retrieved using the "recover
Page 45-19 - CUPS provides a portable printing layer for UNIX-based operating systems. It has been developed by Easy Software Products to promote a standard printing solution for all UNIX vendors and users. CUPS provides the System V and Berkeley command-line interfaces. CUPS uses the Internet Printing Protocol ("IPP") as the basis for managing print jobs and queues.

Bibliographic information