The Fat Free Guide to Unix and Linux Commands.pdf

(4166 KB) Pobierz
Introduction to the Command Line
The Fat-Free Guide to Unix and Linux Commands
Second Edition
Introduction to the Command Line
The Fat-Free Guide to Unix and Linux Commands
Second Edition
Copyright © 2010 Nicholas Marsh
All rights reserved.
ISBN:
1450588301
EAN-13:
9781450588300
www.DontFearTheCommandLine.com
AIX® is a registered trademark of IBM Corp.
BSD® is a registered trademark of the University of California, Berkeley
CentOS is property of CentOS Ltd.
Debian® is a registered trademark of Software in the Public Interest, Inc
Fedora® is a registered trademark of Red Hat, Inc.
FreeBSD® is a registered trademark of The FreeBSD Foundation
Gentoo® is a registered trademark of The Gentoo Foundation
HP-UX® and Tru-64® are registered trademarks of Hewlett-Packard Company
IRIX® is a registered trademark of Silicon Graphics, Inc.
Linux® is the registered trademark of Linus Torvalds.
Mac OS X® is a registered trademark of Apple, Inc.
Windows® is a registered trademark of Microsoft Corporation
NetBSD® is a registered trademark of The NetBSD Foundation
OpenBSD® is a registered trademark of Theo DeRaadt
Red Hat® is a registered trademark of Red Hat, Inc.
Solaris® and OpenSolaris are registered trademarks of Sun Microsystems
SUSE® is a trademark of Novell, Inc.
Ubuntu® is a registered trademark of Canonical Ltd.
UNIX® is a registered trademark of The Open Group
UnixWare® and OpenServer® are registered trademarks of The SCO Group
All other trademarks used in this book are the property of their respective owners.
Use of any trademark in this book does not constitute an affiliation with or
endorsement from the trademark holder.
All information in this book is presented on an "as-is" basis. No warranty or
guarantee is provided and the author and/or publisher shall not be held liable for
any loss or damage.
Contents at a Glance
Introduction .................................................................................. 6
Section 1: Overview of Unix, Linux and BSD Architecture ............. 10
Section 2: Command Line Basics.................................................. 18
Section 3: Advanced Shell Features and Commands .................... 38
Section 4: Text Editing and Extraction .......................................... 60
Section 5: Users, Groups, and Security......................................... 81
Section 6: Process Control and Scheduling .................................. 106
Section 7: Startup and Shutdown .............................................. 122
Section 8: Network Commands ................................................. 139
Section 9: Hardware Management Commands .......................... 167
Section 10: File Systems ............................................................ 177
Section 11: Backup and Restore Commands .............................. 192
Section 12: Monitoring and Troubleshooting ............................. 200
Section 13: Printing Commands ................................................. 224
Section 14: Software Installation ............................................... 231
Section 15: System Administration Utilities ................................ 245
Appendix A: Bash Shortcut Keys ................................................ 248
"UNIX is basically a simple operating system, but you have
to be a genius to understand the simplicity."
– Dennis Ritchie
Creator of the C programming language and co-creator of UNIX
Zgłoś jeśli naruszono regulamin