DELIVERY & GIFT DETAILS:
Usually ships within 2-3 days
Delivery Time and Shipping Rates
Eligible for gift wrap & gift message.

Reserve it at BN.com & pick it up in 60 minutes at your local store.
Enter a zip code
(Paperback)
In this guide, the author of many Linux and UNIX books explains how to work with all recent versions of the Linux operating system from the command line. Introductory chapters introduce this open source software alternative to Microsoft Windows. For experienced users, Sobell offers practical examples, tutorials, tips, and resources on Linux tools. He includes a glossary and appended material on regular expressions used by various utilities, troubleshooting, and ways to keep the system updated. Web site support is available. Annotation ©2005 Book News, Inc., Portland, OR
A new and exhaustive volume that should take top dog in anyone's Linux library. ...Sobell clearly has a command of his subject and he exudes a passion that infuses his writing and clearly elevates this book above any mere manual. ...a "must have" for anyone serious about learning command line scripting.
More Reviews and RecommendationsMark G. Sobell is president of Sobell Associates Inc., a consulting firm that specializes in UNIX/Linux training, support, and custom software development. He is the author of many best-selling UNIX and Linux books and has more than twenty-five years of experience working with UNIX and Linux.
Reader Rating:
See Detailed Ratings
October 10, 2006: If you have never programmed before, this is for you. The time I installed Linux, and realized that if u want to learn how to use linux, is though CLI, i realized I had to get a book. This is a great book, because unlike other books, all, and I mean all the codes are fully functional. (yea, I once bought a C book with codes that missed quotes and prentecies). Linux CLI = this book!
Reader Rating:
See Detailed Ratings
August 18, 2006: If you are beginner, this is for you. I've just installed Linux SuSE 10.1 and this book even stated how to access bash! It even explains how vi(m) and emacs work - a lot of functions! The shortcuts and other cuts. I'm half done and really feel like an experienced programmer. Now I even run a command-line only server on my old 600mhz sony, even though it is not explained how to do so, 90% came out of the book - how to access specific directory, how to write index.html file, and many other things. I still going to go through set of chapters of shell programming and I can't wait. Like I've stated, this is a great book if youre a starter with Linux!
The Barnes & Noble Review
To be a true Linux expert, you still must understand the command line and Linux shells. Now Mark Sobell has compiled all that knowledge into one superb book. Part tutorial, part reference, this book focuses on the commands, utilities, and techniques needed by every serious Linux user.
What’s in here? A tabbed reference to more than 80 key utilities (aspell, chmod, dd, ftp, gzip, ls, make, ssh, sort, tar, and scores more). Clear introductions to the Linux programming environment; to vi and emacs; to gawk and sed; to Linux shells (programming them and leveraging them from the command line).
This book supports any Linux distribution: no need to swap books when you swap distros. But what really sets it apart is Sobell’s clarity and the richness of his examples. Don’t waste time with man pages when there’s such a good alternative. Bill Camarda, from the August 2005 Read Only
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. . . . Itshould 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.”The Most Useful Linux Tutorial and Reference Ever, with Hundreds of High-Quality Examples Covering Every Linux Distribution!
—Eugenia Loli-Queru, Editor in Chief, OSNews.com
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
A new and exhaustive volume that should take top dog in anyone's Linux library. ...Sobell clearly has a command of his subject and he exudes a passion that infuses his writing and clearly elevates this book above any mere manual. ...a "must have" for anyone serious about learning command line scripting.
Loading...| Ch. 1 | Welcome to Linux | 1 |
| Ch. 2 | Getting started | 21 |
| Ch. 3 | Command line utilities | 41 |
| Ch. 4 | The Linux filesystem | 75 |
| Ch. 5 | The shell | 107 |
| Ch. 6 | The vim editor | 139 |
| Ch. 7 | The emacs editor | 195 |
| Ch. 8 | The Bourne again shell | 255 |
| Ch. 9 | The TC shell | 339 |
| Ch. 10 | Programming tools | 387 |
| Ch. 11 | Programming the Bourne again shell | 435 |
| Ch. 12 | The gawk pattern processing language | 527 |
| Ch. 13 | The sed editor | 563 |
| Command reference | 581 |
A Practical Guide to Linux® Commands, Editors, and Shell Programming explains how to work with the Linux operating system from the command line. The first few chapters quickly bring readers with little computer experience up to speed. The rest of the book is appropriate for more experienced computer users. This book does not describe a particular release or distribution of Linux but rather pertains to all recent versions of Linux.
Command line interface (CLI). In the beginning there was the command line (textual) interface (CLI), which enabled you to give Linux commands from the command line. There was no mouse or icons to drag and drop. Some programs, such as
emacs, implemented rudimentary windows using the very minimal graphics available in the ASCII character set. Reverse video helped separate areas of the screen. Linux was born and raised in this environment.
Naturally all of the original Linux tools were invoked from the command line. The real power of Linux still lies in this environment, which explains why many Linux professionals work exclusively from the command line. Using clear descriptions and lots of examples, this book shows you how to get the most out of your Linux system using the command line interface.
Linux distributions. A Linux distribution comprises the Linux kernel, utilities, and application programs. Many distributions are available, including Debian, Red Hat, Fedora Core, SUSE, Mandriva (formerly Mandrake), KNOPPIX, and Slackware. Although the distributions differ from one another in various ways, all of them rely on the Linux kernel, utilities, and applications. This book is based on thecode that is common to most distributions. As a consequence you can use it regardless of which distribution you are running.
Overlap. If you read A Practical Guide to Red Hat® Linux®: Fedora Core™ and Red Hat Enterprise Linux, Second Edition, or a subsequent edition, you will notice some overlap between that book and the one you are reading now. The introduction, the appendix on regular expressions, and the chapters on the utilities (Chapter 3 of this booknot Part V), the filesystem, and programming tools are very similar in the two books. The three chapters that cover the Bourne Again Shell (
bash) have been expanded and rewritten for this text. Chapters that appear in this book and but not in A Practical Guide to Red Hat® Linux,® Second Edition, include those covering the
vim and
emacs editors, the TC Shell (
tcsh), the
gawk and
sed languages, and Part V, which describes 80 of the most useful Linux utility programs in detail.
Audience. This book is designed for a wide range of readers. It does not require programming experience, although some experience using a general-purpose computer is helpful. It is appropriate for the following readers:
Benefits. A Practical Guide to Linux® Commands, Editors, and Shell Programming gives you an in-depth understanding of how to use Linux from the command line. Regardless of your background, it offers the knowledge you need to get on with your work: You will come away from this book understanding how to use Linux, and this text will remain a valuable reference for years to come.
Features of This BookThis book is organized for ease of use in different situations. For example, you can read it from cover to cover to learn command line Linux from the ground up. Alternatively, once you are comfortable using Linux, you can use this book as a reference: Look up a topic of interest in the table of contents or index and read about it. Or, refer to one of the utilities covered in Part V, “Linux Utility Programs.” You can also think of this book as a catalog of Linux topics: Flip through the pages until a topic catches your eye. The book also includes many pointers to Web sites where you can get additional information: Consider the Web an extension of this book.
A Practical Guide to Linux® Commands, Editors, and Shell Programming offers the following features:
gcc,
gdb, GNU Configure and Build System,
make,
gzip, and many others, are described in detail.
This section describes the information that each chapter covers and explains how that information can help you take advantage of the power of Linux. You may want to review the table of contents for more detail.
Chapter 1: Welcome to LinuxPresents background information on Linux. This chapter covers the history of Linux, explains how the GNU project helped Linux get started, and discusses some of Linux’s important features that distinguish it from other operating systems.
Part I: The Linux Operating SystemPart I introduces Linux and gets you started using it.
TIP: Experienced Users May Want to Skim Part IChapter 2: Getting Started
If you have used a UNIX/Linux system before, you may want to skim or skip some or all of the chapters in Part I. All readers should take a look at “Conventions Used in This Book,” which explains the typographic conventions that this book uses, and “Getting the Facts: Where to Find Documentation,” which points you toward both local and remote sources of Linux documentation.
Explains the typographic conventions that this book uses to make explanations clearer and easier to read. This chapter provides basic information and explains how to log in, change your password, give Linux commands using the shell, and find system documentation.
Chapter 3: Command Line UtilitiesExplains the command line interface (CLI) and briefly introduces more than 30 command line utilities. Working through this chapter gives you a feel for Linux and introduces some of the tools you will use day in and day out. The utilities covered in this chapter include
grep, which searches through files for strings of characters;
unix2dos, which converts Linux text files to Windows format;
tar, which creates archive files that can hold many other files;
bzip2 and
gzip, which compress files so that they take up less space on disk and allow you to transfer them over a network more quickly; and
diff, which displays the differences between two text files.
Discusses the Linux hierarchical filesystem, covering files, filenames, pathnames, working with directories, access permissions, and hard and symbolic links. Understanding the filesystem allows you to organize your data so that you can find information quickly. It also enables you to share some of your files with other users while keeping other files private.
Chapter 5: The ShellExplains how to use shell features to make your work faster and easier. All of the features covered in this chapter work with both the
bash and
tcsh. This chapter discusses
Part II covers two classic, powerful Linux command line text editors. Most Linux distributions include the
vim text editor, an “improved” version of the widely used
vi editor, as well as the popular GNU
emacs editor. Text editors enable you to create and modify text files that can hold programs, shell scripts, memos, and input to text formatting programs. Because Linux system administration involves editing text-based configuration files, skilled Linux administrators are adept at using text editors.
Chapter 6: The vim EditorStarts with a tutorial on
vim and then explains how to use many of the advanced features of
vim, including special characters in search strings, the General-Purpose and Named buffers, parameters, markers, and execution of commands from
vim. The chapter concludes with a summary of
vim commands.
Chapter 7: The emacs EditorOpens with a tutorial and then explains many of the features of the emacs editor as well as how to use the
META,
ALT, and
ESCAPE keys. The chapter also covers key bindings, buffers, and incremental and complete searching for both character strings and regular expressions. In addition, it details the relationship between Point, the cursor, Mark, and Region. It also explains how to take advantage of the extensive online help facilities available from
emacs. Other topics covered include cutting and pasting, using multiple windows and frames, and working with
emacs modesspecifically C mode, which aids programmers in writing and debugging C code. Chapter 7 concludes with a summary of
emacs commands.
Part III: The ShellsPart III goes into more detail about
bash and introduces the TC Shell (
tcsh).
Chapter 8: The Bourne Again ShellPicks up where Chapter 5 leaves off, covering more advanced aspects of working with a shell. For examples it uses the Bourne Again Shell
bash, the shell used almost exclusively for system shell scripts. Chapter 8 describes how to
Describes
tcsh and covers features that are common to and different between
bash and
tcsh. This chapter explains how to
tcsh and change your default shell to
tcsh;
tcsh array and numeric variables; and
Part IV covers programming under Linux. It discusses the C programming environment, the use of
bash as a programming language, and ways to write programs using
gawk and
sed.
Chapter 10: Programming ToolsIntroduces Linux’s exceptional programming environment. This chapter
gcc compiler;
make to keep a set of programs up-to-date;
gdb;
Once you have mastered the basics of Linux, you can use your knowledge to build more complex and specialized programs, using the shell as a programming language.
Chapter 11: Programming the Bourne Again ShellShows how to use bash to write advanced shell scripts. This chapter discusses
exec,
trap, and
getopts.
Chapter 11 poses two complete shell programming problems and then shows you how to solve them step by step. The first problem uses recursion to create a hierarchy of directories. The second problem develops a quiz program and shows you how to set up a shell script that interacts with a user and how the script processes data. (The examples in Part V also demonstrate many features of the utilities you can use in shell scripts.)
Chapter 12: The gawk Pattern Processing LanguageExplains how to write programs using the powerful
gawk language that filter data, write reports, and retrieve data from the Internet. The advanced programming section describes how to set up two-way communication with another program using a coprocess and how to obtain input over a network instead of from a local file.
Chapter 13: The sed EditorDescribes
sed, the noninteractive stream editor that finds many applications as a filter within shell scripts. This chapter discusses how to use
sed’s buffers to write simple yet powerful programs and includes many examples.
Part V: Command ReferenceLinux includes hundreds of utilities. Chapters 11 and 12 as well as Part V provide extensive examples of the use of more than 80 of the most important utilities with which you can solve problems without resorting to programming in C. If you are already familiar with UNIX/Linux, this part of the book will be a valuable, easy-to-use reference. If you are not an experienced user, it will serve as a useful supplement while you are mastering the earlier sections of the book.
Although the descriptions of the utilities in Chapters 11 and 12 and Part V are presented in a format similar to that used by the Linux manual (
man) pages, they are much easier to read and understand. These utilities were chosen because you will work with them day in and day out (for example,
ls and
cp), because they are powerful tools that are especially useful in shell scripts (
sort,
paste, and
test), because they help you work with your Linux system (
ps,
kill, and
fsck), or because they enable you to communicate with other systems (
ssh,
scp, and
ftp). Each utility description includes complete explanations of its most useful options. The “Discussion” and “Notes” sections present tips and tricks for using the utility to full advantage. The “Examples” sections demonstrate how to use these utilities in real life, alone and together with other utilities to generate reports, summarize data, and extract information. Take a look at the “Examples” sections for
gawk,
ftp, and
sort to see how extensive these sections are.
Part VI: AppendixesPart VI includes the appendixes, the glossary, and the index.
Appendix A Regular ExpressionsExplains how to use regular expressions to take advantage of the hidden power of Linux. Many utilities, including
grep,
sed,
vim, and
gawk, accept regular expressions in place of simple strings of characters. A single regular expression can match many simple strings.
Appendix B HelpDetails the steps typically used to solve the problems you may encounter with a Linux system. This appendix also includes many links to Web sites that offer documentation, useful Linux information, mailing lists, and software.
Appendix C Keeping the System Up-to-dateDescribes how to use tools to download software and keep your system current. This appendix includes information on
yumDownloads software from the Internet, keeping a system up-to-date and resolving dependencies as it goes.
yum for keeping a system current.
Defines more than 500 terms that pertain to the use of Linux.
IndexHelps you find the information you want quickly.
SupplementsThe author’s home page (www.sobell.com) will contain downloadable listings of the longer programs from this book as well as pointers to many interesting and useful Linux-related sites on the World Wide Web, a list of corrections to the book, answers to even-numbered exercises, and a solicitation for corrections, comments, and suggestions.
loading...
loading...
loading...
Terms of Use, Copyright, and Privacy Policy
© 1997-2009 Barnesandnoble.com llc