LINUX

[Pages:944] LINUX

IN A NUTSHELL

LINUX

IN A NUTSHELL

Sixth Edition

Ellen Siever, Stephen Figgins, Robert Love, and Arnold Robbins

Beijing ? Cambridge ? Farnham ? K?ln ? Sebastopol ? Taipei ? Tokyo

Linux in a Nutshell, Sixth Edition

by Ellen Siever, Stephen Figgins, Robert Love, and Arnold Robbins

Copyright ? 2009 Ellen Siever, Stephen Figgins, and Robert Love. All rights reserved. Printed in the United States of America.

Published by O'Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.

O'Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (). For more information, contact our corporate/institutional sales department: (800) 998-9938 or corporate@.

Editors: Simon St.Laurent and Andy Oram

Production Editor: Rachel Monaghan Indexer: Angela Howard

Production Services: Octal Publishing, Inc. Cover Designer: Karen Montgomery Interior Designer: David Futato Illustrator: Robert Romano

Printing History: January 1997: February 1999: August 2000: June 2003: July 2005: September 2009:

First Edition. Second Edition. Third Edition. Fourth Edition. Fifth Edition. Sixth Edition.

Nutshell Handbook, the Nutshell Handbook logo, and the O'Reilly logo are registered trademarks of O'Reilly Media, Inc. The In a Nutshell series designation, Linux in a Nutshell, the image of an Arabian horse, and related trade dress are trademarks of O'Reilly Media, Inc.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O'Reilly Media, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps.

While every precaution has been taken in the preparation of this book, the publisher and authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.

ISBN: 978-0-596-15448-6 [M]

Chapter 1

Table of Contents

Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv

1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

The Excitement of Linux

2

Distribution and Support

3

Commands on Linux

3

What This Book Offers

4

Sources and Licenses

6

Beginner's Guide

7

Communication

7

Comparisons

8

File Management

8

Media

9

Printing

9

Programming

9

Program Maintenance

10

Searching

10

Shell Programming

11

Storage

11

System Status

11

Text Processing

12

Miscellaneous

13

v

2. System and Network Administration Overview . . . . . . . . . . . . . . . . . 14

Common Commands

14

Clocks

14

Daemons

14

Hardware

15

Host Information

15

Installation

16

Mail

16

Managing Filesystems

16

Managing the Kernel

17

Networking

18

Printing

18

Security and System Integrity

18

Starting and Stopping the System

19

System Activity and Process Management

19

Users

20

Miscellaneous

20

Overview of Networking

21

TCP/IP Administration

21

NFS and NIS Administration

22

Overview of TCP/IP

22

IP Addresses

23

Gateways and Routing

25

Name Service

26

Configuring TCP/IP

27

Troubleshooting TCP/IP

28

Overview of Firewalls and Masquerading

28

Overview of NFS

29

Administering NFS

30

Daemons

30

Exporting Filesystems

30

Mounting Filesystems

30

Overview of NIS

31

Servers

31

Domains

31

NIS Maps

31

Map Manipulation Utilities

31

vi | Table of Contents

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download