Synopses & Reviews
Everything you need to know about Linux is in this book. Written by Stephen Figgins, Ellen Siever, Robert Love, and Arnold Robbins -- people with years of active participation in the Linux community -- Linux in a Nutshell, Sixth Edition, thoroughly covers programming tools, system and network administration tools, the shell, editors, and LILO and GRUB boot loaders.
This updated edition offers a tighter focus on Linux system essentials, as well as more coverage of new capabilities such as virtualization, wireless network management, and revision control with git. It also highlights the most important options for using the vast number of Linux commands. You'll find many helpful new tips and techniques in this reference, whether you're new to this operating system or have been using it for years.
- Get the Linux commands for system administration and network management
- Use hundreds of the most important shell commands available on Linux
- Understand the Bash shell command-line interpreter
- Search and process text with regular expressions
- Manage your servers via virtualization with Xen and VMware
- Use the Emacs text editor and development environment, as well as the vi, ex, and vim text-manipulation tools
- Process text files with the sed editor and the gawk programming language
- Manage source code with Subversion and git
Linux books enjoy steady sales, with $4 million in revenue in 2008, and just shy of $1 million during the first quarter of 2009, according to BookScan. The Linux operating system is a major player in the IT world, with Linux server clusters driving Google, Amazon.com, and even Oracle. Current top-selling O'Reilly books in the category include Linux Pocket Guide (9780596006280) and Understanding the Linux Kernel, Third Edition (9780596005658).
The latest update of the most thorough -- and essential -- reference for Linux users, the sixth edition covers new technologies, including wireless networks. Highly popular since its debut in 1997, "Linux in a Nutshell" remains a must-have reference in the Linux canon. The sixth edition incorporates new commands, and covers programming tools, system and network administration tools, editors, and shells. Users will also find complete information on associated applications such as Apache, Samba, Postfix, sendmail, Subversion, Emacs, vi, sed, gawk, and many more.
O'Reilly's Pocket Guides have earned a reputation as inexpensive, comprehensive, and compact guides that have the stuff but not the fluff. Every page of Linux Pocket Guide lives up to this billing. It clearly explains how to get up to speed quickly on day-to-day Linux use. Once you're up and running, Linux Pocket Guide provides an easy-to-use reference that you can keep by your keyboard for those times when you want a fast, useful answer, not hours in the man pages.
Linux Pocket Guide is organized the way you use Linux: by function, not just alphabetically. It's not the 'bible of Linux; it's a practical and concise guide to the options and commands you need most. It starts with general concepts like files and directories, the shell, and X windows, and then presents detailed overviews of the most essential commands, with clear examples. You'll learn each command's purpose, usage, options, location on disk, and even the RPM package that installed it.
The Linux Pocket Guide is tailored to Fedora Linux--the latest spin-off of Red Hat Linux--but most of the information applies to any Linux system.
Throw in a host of valuable power user tips and a friendly and accessible style, and you'll quickly find this practical, to-the-point book a small but mighty resource for Linux users.
About the Author
Ellen Siever is a writer and editor specializing in Linux and other open source topics. In addition to Linux in a Nutshell, she coauthored Perl in a Nutshell. She is a long-time Linux and Unix user, and was a programmer for many years until she decided that writing about computers was more fun.
Stephen Figgins honed many of his computer skills while working as O'Reilly's book answer guy. A life long learner with many interests, Stephen draws on many resources to make difficult topics understandable and accessible.
Now living in Lawrence, Kansas, he administrates Linux servers for Sunflower Broadband, a cable company. When not found working with computers, writing, or spending time with his family, you will likely find him outdoors. Stephen teaches wilderness awareness and living skills.
Robert Love has been a Linux user and hacker since the early days. He is active in--and passionate about--the Linux kernel and GNOME desktop communities. His recent contributions to the Linux kernel include work on the kernel event layer and inotify. GNOME-related contributions include Beagle, GNOME Volume Manager, NetworkManager, and Project Utopia. Currently, Robert works in the Open Source Program Office at Google.
Robert is the author of Linux Kernel Development (SAMS 2005) and the co-author of Linux in a Nutshell (2006 O'Reilly). He is also a Contributing Editor at Linux Journal. He is currently working on a new work for O'Reilly that will be the greatest book ever written, give or take. Robert holds a B.A. in Mathematics and a B.S. in Computer Science from the University of Florida. A proud Gator, Robert was born in South Florida but currently calls home Cambridge, MA.
Arnold Robbins, an Atlanta native, is a professional programmer and technical author. He has worked with Unix systems since 1980, when he was introduced to a PDP-11 running a version of Sixth Edition Unix. He has been a heavy AWK user since 1987, when he became involved with gawk, the GNU project's version of AWK. As a member of the POSIX 1003.2 balloting group, he helped shape the POSIX standard for AWK. He is currently the maintainer of gawk and its documentation. He is also coauthor of the sixth edition of O'Reilly's Learning the vi Editor. Since late 1997, he and his family have been living happily in Israel.
Table of Contents
Preface; Organization of This Book; Other Resources; Using Code Examples; Conventions; How to Contact Us; Safari® Books Online; Acknowledgments; Chapter 1: Introduction; 1.1 The Excitement of Linux; 1.2 Distribution and Support; 1.3 Commands on Linux; 1.4 What This Book Offers; 1.5 Sources and Licenses; 1.6 Beginner's Guide; Chapter 2: System and Network Administration Overview; 2.1 Common Commands; 2.2 Overview of Networking; 2.3 Overview of TCP/IP; 2.4 Overview of Firewalls and Masquerading; 2.5 Overview of NFS; 2.6 Overview of NIS; 2.7 Administering NIS; 2.8 RPC and XDR; Chapter 3: Linux Commands; 3.1 Alphabetical Summary of Commands; Chapter 4: Boot Methods; 4.1 The Boot Process; 4.2 LILO: The Linux Loader; 4.3 GRUB: The Grand Unified Bootloader; 4.4 GRUB Commands; 4.5 Dual-Booting Linux and Windows 2000/XP/Vista; 4.6 Boot-Time Kernel Options; 4.7 initrd: Using a RAM Disk; Chapter 5: Package Management; 5.1 Yum: Yellowdog Updater Modified; 5.2 The Red Hat Package Manager; 5.3 The Debian Package Manager; Chapter 6: The Bash Shell; 6.1 Overview of Features; 6.2 Invoking the Shell; 6.3 Syntax; 6.4 Functions; 6.5 Variables; 6.6 Arithmetic Expressions; 6.7 Command History; 6.8 Job Control; 6.9 Command Execution; 6.10 Restricted Shells; 6.11 Built-in Commands; Chapter 7: Pattern Matching; 7.1 Filenames Versus Patterns; 7.2 Metacharacters; 7.3 Metacharacters, Listed by Program; 7.4 Examples of Searching; Chapter 8: The Emacs Editor; 8.1 Conceptual Overview; 8.2 Command-Line Syntax; 8.3 Summary of Commands by Group; 8.4 Summary of Commands by Key; 8.5 Summary of Commands by Name; Chapter 9: The vi, ex, and vim Editors; 9.1 Conceptual Overview; 9.2 Command-Line Syntax; 9.3 Review of vi Operations; 9.4 vi Commands; 9.5 vi Configuration; 9.6 ex Basics; 9.7 Alphabetical Summary of ex Commands; Chapter 10: The sed Editor; 10.1 Conceptual Overview; 10.2 Command-Line Syntax; 10.3 Syntax of sed Commands; 10.4 Group Summary of sed Commands; 10.5 Alphabetical Summary of sed Commands; Chapter 11: The gawk Programming Language; 11.1 Conceptual Overview; 11.2 Command-Line Syntax; 11.3 Patterns and Procedures; 11.4 Built-in Variables; 11.5 Operators; 11.6 Variable and Array Assignment; 11.7 User-Defined Functions; 11.8 gawk-Specific Features; 11.9 Implementation Limits; 11.10 Group Listing of awk Functions and Commands; 11.11 Alphabetical Summary of awk Functions and Commands; 11.12 ; Chapter 12: Source Code Management: An Overview; 12.1 Introduction and Terminology; 12.2 Usage Models; 12.3 Source Code Management Systems; 12.4 Other Source Code Management Systems; Chapter 13: The Subversion Version Control System; 13.1 Conceptual Overview; 13.2 The Subversion Command Line Client: svn; 13.3 Repository Administration: svnadmin; 13.4 Examining the Repository: svnlook; 13.5 Providing Remote Access: svnserve; Chapter 14: The Git Version Control System; 14.1 Conceptual Overview; 14.2 Using Git: A Quick Tour; 14.3 The Git Command Line Client: git; Chapter 15: Virtualization Command-Line Tools; 15.1 Conceptual Overview; 15.2 Basic Virtualization Operations; 15.3 Xen; 15.4 KVM; 15.5 libvirt and Red Hat Virtual Machine Manager; 15.6 libvirt and Virtual Machine Manager Commands; 15.7 VMware ESX 3.5; 15.8 VMware Networking; Colophon;