Beginning the Linux Command Line [Apress 2009]-[miner], Apress

[ Pobierz całość w formacie PDF ]
Beginning the
Linux Command Line
Sander van Vugt
Beginning the Linux Command Line
Copyright © 2009 by Sander van Vugt
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage or retrieval
system, without the prior written permission of the copyright owner and the publisher.
ISBN-13 (pbk): 978-1-4302-1889-0
ISBN-13 (electronic): 978-1-4302-1890-6
Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1
Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence
of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark
owner, with no intention of infringement of the trademark.
Lead Editor: Michelle Lowman
Technical Reviewer: Mary Ann C. Tan
Editorial Board: Clay Andres, Steve Anglin, Mark Beckner, Ewan Buckingham, Tony Campbell,
Gary Cornell, Jonathan Gennick, Michelle Lowman, Matthew Moodie, Jeffrey Pepper,
Frank Pohlmann, Ben Renow-Clarke, Dominic Shakeshaft, Matt Wade, Tom Welsh
Project Manager: Beth Christmas
Copy Editor: Ami Knox
Associate Production Director: Kari Brooks-Copony
Production Editor: Elizabeth Berry
Compositor: Linda Weidemann, Wolf Creek Publishing Services
Proofreader: Nancy Sixsmith
Indexer: Brenda Miller, Odessa&Cie
Artist: April Milne
Cover Designer: Kurt Krames
Manufacturing Director: Tom Debolski
Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor,
New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail
kn`ano)ju<olnejcan)o^i*_ki
, or
visit
dppl6++sss*olnejcankjheja*_ki
.
For information on translations, please contact Apress directly at 2855 Telegraph Avenue, Suite 600,
Berkeley, CA 94705. Phone 510-549-5930, fax 510-549-5939, e-mail
ejbk<]lnaoo*_ki
, or visit
dppl6++
sss*]lnaoo*_ki
.
Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use.
eBook versions and licenses are also available for most titles. For more information, reference our Special
Bulk Sales–eBook Licensing web page at
dppl6++sss*]lnaoo*_ki+ejbk+^qhgo]hao
.
The information in this book is distributed on an “as is” basis, without warranty. Although every pre-
caution has been taken in the preparation of this work, neither the author(s) nor Apress shall have any
liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly
or indirectly by the information contained in this work.
Contents at a Glance
About the Author
..................................................................xiii
About the Technical Reviewer
...................................................... xv
Introduction
..................................................................... xvii
CHAPTER 1
Starting Linux Command-Line Administration
.....................1
CHAPTER 2
Performing Essential Command-Line Tasks
. . . . . . . . . . . . . . . . . . . . . . 27
CHAPTER 3
Administering the Linux File System
............................47
CHAPTER 4
Working with Text Files
.........................................69
CHAPTER 5
Managing Partitions and Logical Volumes
.......................91
CHAPTER 6
Managing Users and Groups
...................................133
CHAPTER 7
Managing Permissions
........................................163
CHAPTER 8
Managing Software
...........................................179
CHAPTER 9
Process and System Management
.............................197
CHAPTER 10
System Logging
...............................................217
CHAPTER 11
Configuring the Network
.......................................237
CHAPTER 12
Configuring a File Server
......................................277
CHAPTER 13
Working with the Kernel
.......................................299
CHAPTER 14
Introduction to Bash Shell Scripting
............................319
APPENDIX
INDEX
.......................................................................361
iii
Installing Linux
................................................353
Contents
About the Author
..................................................................xiii
About the Technical Reviewer
...................................................... xv
Introduction
..................................................................... xvii
CHAPTER 1
Starting Linux Command-Line Administration
.............1
Linux Distributions
................................................1
Linux History
................................................1
Open Source
................................................2
The First Distributions
........................................2
Linux Turning Mainstream
....................................2
Logging In and Out
...............................................4
Different Login Interfaces
.....................................5
Working with a User Account
..................................7
Command-Line Basics
............................................8
The Command Interpreter
....................................9
Commands, Options, and Arguments
...........................9
Piping and Redirection
...........................................12
Piping
.....................................................12
Redirection
................................................14
Getting Help
....................................................16
Using man to Get Help
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Using the --help Option
......................................19
Getting Information on Installed Packages
.....................20
Working with the Shell
...........................................20
Using the Shell to Best Effect
.................................21
Managing Bash with Key Sequences
..........................25
Summary
.......................................................26
v
[ Pobierz całość w formacie PDF ]

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • braseria.xlx.pl
  •