Book description
Praise for Mark Sobell’s Books
“I keep searching for books that collect everything you
want to know about a subject in one place, and keep getting
disappointed. Usually the books leave out some important topic,
while others go too deep in some areas and must skim lightly over
the others. A Practical Guide to Red Hat® Linux®
is one of those rare books that actually pulls it off. Mark G.
Sobell has created a single reference for Red Hat Linux that cannot
be beat! This marvelous text (with a 4-CD set of Linux Fedora Core
2 included) is well worth the price. This is as close to an
‘everything you ever needed to know’ book that
I’ve seen. It’s just that good and rates 5 out of
5.”
—Ray Lodato, Slashdot contributor
“Mark Sobell has written a book as approachable as it is
authoritative.”
—Jeffrey Bianchine, Advocate, Author, Journalist
“Excellent reference book, well suited for the sysadmin of
a linux cluster, or the owner of a PC contemplating installing a
recent stable linux. Don’t be put off by the daunting heft of
the book. Sobell has striven to be as inclusive as possible, in
trying to anticipate your system administration needs.”
—Wes Boudville, Inventor
“A Practical Guide to Red Hat® Linux® is
a brilliant book. Thank you Mark Sobell.”
—C. Pozrikidis, University of California at San
Diego
“This book presents the best overview of the Linux
operating system that I have found. . . . It should be very helpful
and understandable no matter what the reader’s background is:
traditional UNIX user, new Linux devotee, or even Windows user.
Each topic is presented in a clear, complete fashion and very few
assumptions are made about what the reader knows. . . . The book is
extremely useful as a reference, as it contains a 70-page glossary
of terms and is very well indexed. It is organized in such a way
that the reader can focus on simple tasks without having to wade
through more advanced topics until they are ready.”
—Cam Marshall, Marshall Information Service LLC, Member of
Front Range UNIX Users Group FRUUG, Boulder, Colorado
“Conclusively, this is THE book to get if you are a new
Linux user and you just got into RH/Fedora world. There’s no
other book that discusses so many different topics and in such
depth.”
—Eugenia Loli-Queru, Editor in Chief, OSNews.com
The Most Useful Linux Tutorial and Reference Ever, with Hundreds of High-Quality Examples Covering Every Linux Distribution!
To be truly productive with Linux, you need to thoroughly master the shells and the command line. Until now, you had to buy two books to gain that mastery: a tutorial on fundamental Linux concepts and techniques, plus a separate reference. Worse, most Linux references offer little more than prettied-up man pages. Now, there’s a far better solution. Renowned Linux expert Mark Sobell has brought together comprehensive, insightful guidance on the tools system administrators, developers, and power users need most, and an outstanding day-to-day reference, both in the same book.
This book is 100 percent distribution and release agnostic: You can use it on any Linux system, now and for years to come. What’s more, it’s packed with hundreds of high-quality examples: better examples than you’ll find in any other Linux guidebook. This is Linux from the ground up: the clearest explanations and most useful knowledge about everything from filesystems to shells, editors to utilities, and programming tools to regular expressions. And when you need instant answers, you’ll constantly turn to Sobell’s comprehensive command reference section—organized and tabbed for easy, fast access!
Don’t settle for yesterday’s Linux guidebook. Get the one book that meets today’s challenges—and tomorrow’s!
A Practical Guide to Linux® Commands, Editors, and Shell Programming is the most useful, most comprehensive Linux tutorial and reference you can find. It’s the only book to deliver
Better, more realistic examples covering tasks you’ll actually need to perform
Deeper insight, based on Sobell’s immense knowledge of every Linux nook and cranny
More practical explanations of more than eighty core utilities, from aspell to xargs
Techniques for implementing secure communications using ssh and scp—plus dozens of tips for making your system more secure
A superior introduction to the Linux programming environment, including make, gcc, gdb, CVS, and much more
Expert guidance on basic and advanced shell programming using bash and tcsh
Tips and tricks for customizing the shell and using it interactively from the command line
Thorough guides to vim and emacs, designed to help you get productive fast and maximize your editing efficiency
Dozens of exercises to help you practice and gain confidence
Instructions for using Apt, yum, and BitTorrent for keeping your system up to date automatically
And much more, including coverage of gawk, sed, find, sort, bzip2, and regular expressions
Table of contents
- Copyright
- Praise for Mark Sobell's Books
- Preface
-
1. Welcome to Linux
- Free beer
- The Gnu–Linux Connection
- The Heritage of Linux: Unix
- What is so good about linux?
- Overview of Linux
- Additional Features of Linux
- Chapter Summary
- Exercises
-
I. The Linux Operating System
- 2. Getting Started
- 3. Command Line Utilities
-
4. The Linux Filesystem
- The Hierarchical Filesystem
- Directory and Ordinary Files
- Working with Directories
- Access Permissions
- Links
- Chapter summary
- Exercises
- ADVANCED EXERCISES
- 5. The Shell
-
II. The Editors
-
6. The vim Editor
- History
- Tutorial: Creating and Editing a File with vim
- The compatible Parameter
- Introduction to vim Features
- Command Mode: Moving the Cursor
- Input Mode
- Command Mode: Deleting and Changing Text
- Searching and Substituting
- Miscellaneous Commands
- Yank, Put, and Delete Commands
- Reading and Writing Files
- Setting Parameters
- Advanced Editing Techniques
- Units of Measure
- Chapter Summary
- Exercises
- Advanced Exercises
-
7. The emacs Editor
- History
- Tutorial: Getting Started with emacs
- Basic Editing Commands
- Online Help
- Advanced Editing
- Language-Sensitive Editing
- More Information
- Chapter Summary
- Exercises
- Advanced Exercises
-
6. The vim Editor
-
III. THE SHELLS
-
8. The Bourne Again Shell
- Background
- Shell Basics
-
Parameters and Variables
- Variables
- User-created variables
- Keyword variables
- Positional parameters Special parameters
- User-Created Variables
- Variable Attributes
- Keyword Variables
- Special Characters
- Processes
- History
- Aliases
- Functions
- Controlling bash Features and Options
- Processing The Command Line
- Chapter Summary
- Exercises
- Advanced Exercises
-
9. The Tc Shell
-
Assignment statement
- Shell Scripts
-
Entering and Leaving the TC Shell
- chsh
- Features Common to the Bourne Again and TC Shells
- Redirecting Standard Error
- Working with the Command Line
-
Assignment statement
-
8. The Bourne Again Shell
-
IV. Programming Tools
-
10. Programming Tools
- Programming In C
- Using Shared Libraries
- make: Keeps a Set of Programs Current
- Debugging C Programs
- Threads
- System Calls
- Source Code Management
- Chapter Summary
- Exercises
- Advanced Exercises
-
11. Programming The Bourne Again Shell
- Control Structures
- File Descriptors
- Parameters And Variables
- Builtin Commands
- Expressions
- Shell Programs
- Chapter Summary
- Exercises
- Advanced Exercises
- 12. The gawk Pattern Processing Language
- 13. The sed Editor
-
10. Programming Tools
-
V. Command Reference
-
Command Reference
- Utilities That Display and Manipulate Files
- Network Utilities
- Utilities That Display and Alter Status
- Utilities That Are Programming Tools
- Miscellaneous Utilities
- Standard Multiplicative Suffixes
- Common Options
-
The sample Utility
- sample: Very brief description of what the utility does
- aspell: Checks a file for spelling errors
- at: Executes commands at a specified time
- bzip2: Compresses or decompresses files
- cal: Displays a calendar
- cat: Joins and displays files
- cd: Changes to another working directory
- chgrp: Changes the group associated with a file
- chmod: Changes the access mode (permissions) of a file
- chown: Changes the owner of a file and/or the group the file is associated with
- cmp: Compares two files
- comm: Compares sorted files
- configure: Configures source code automatically
- cp: Copies files
- cpio: Creates an archive or restores files from an archive
- crontab: Maintains crontab files
- cut: Selects characters or fields from input lines
- date: Displays or sets the system time and date
- dd: Converts and copies a file
- df: Displays disk space usage
- diff: Displays the differences between two files
- du: Displays information on disk usage by file
- echo: Displays a message
- expr: Evaluates an expression
- file: Displays the classification of a file
- find: Finds files based on criteria
- finger: Displays information about users
- fmt: Formats text very simply
- fsck: Checks and repairs a filesystem
- ftp: Transfers files over a network
- gcc: Compiles C and C++ programs
- grep: Searches for a pattern in files
- gzip: Compresses or decompresses files
- head: Displays the beginning of a file
- kill: Terminates a process by PID
- killall: Terminates a process by name
- less: Displays text files, one screen at a time
- ln: Makes a link to a file
- lpr: Sends files to printers
- ls: Displays information about one or more files
- make: Keeps a set of programs current
- man: Displays documentation for commands
- mkdir: Creates a directory
- mkfs: Creates a filesystem on a device
- Mtools: Uses DOS-style commands on files and directories
- mv: Renames or moves a file
- nice: Changes the priority of a command
- nohup: Runs a command that keeps running after you log out
- od: Dumps the contents of a file
- paste: Joins corresponding lines from files
- pr: Paginates files for printing
- ps: Displays process status
- rcp: Copies one or more files to or from a remote system
- rlogin: Logs in on a remote system
- rm: Removes a file (deletes a link)
- rmdir: Removes a directory
- rsh: Executes commands on a remote system
- scp: Securely copies one or more files to or from a remote system
- sleep: Creates a process that sleeps for a specified interval
- sort: Sorts and/or merges files
- split: Divides a file into sections
- ssh: Securely executes commands on a remote system
- strings: Displays strings of printable characters
- stty: Displays or sets terminal parameters
- tail: Displays the last part (tail) of a file
- tar: Stores or retrieves files to/from an archive file
- tee: Copies standard input to standard output and one or more files
- telnet: Connects to a remote system over a network
- test: Evaluates an expression
- top: Dynamically displays process status
- touch: Changes a file's access and/or modification time
- tr: Replaces specified characters
- tty: Displays the terminal pathname
- tune2fs: Changes parameters on an ext2 or ext3 filesystem
- umask: Establishes the file-creation permissions mask
- uniq: Displays unique lines
- w: Displays information about system users
- wc: Displays the number of lines, words, and bytes
- which: Shows where in PATH a command is located
- who: Displays information about logged-in users
- xargs: Converts standard input into command lines
-
Command Reference
- VI. Appendixes
- Glossary
Product information
- Title: A Practical Guide to Linux® Commands, Editors, and Shell Programming
- Author(s):
- Release date: July 2005
- Publisher(s): Pearson
- ISBN: 0131478230
You might also like
book
A Practical Guide to Linux Commands, Editors, and Shell Programming, Fourth Edition
The Most Useful Tutorial and Reference, with Hundreds of High-Quality Examples for Every Popular Linux Distribution …
book
Learning Linux Shell Scripting - Second Edition
Break through the practice of writing tedious code with shell scripts About This Book Learn to …
book
Linux Shell Scripting Cookbook - Second Edition
Don’t neglect the shell – this book will empower you to use simple commands to perform …
book
Linux Shell Scripting Cookbook - Third Edition
Do amazing things with the shell About This Book Become an expert in creating powerful shell …