CHF40.90
Download steht sofort bereit
The Most Useful Tutorial and Reference, with Hundreds of High-Quality Examples for Every Popular Linux Distribution
"First Sobell taught people how to use Linux . . . now he teaches you the power of Linux. A must-have book for anyone who wants to take Linux to the next level."
-Jon "maddog" Hall, Executive Director, Linux International Discover the Power of Linux-Covers macOS, too!
Linux is today's dominant Internet server platform. System administrators and Web developers need deep Linux fluency, including expert knowledge of shells and the command line. This is the only guide with everything you need to achieve that level of Linux mastery. Renowned Linux expert Mark Sobell has brought together comprehensive, insightful guidance on the tools sysadmins, developers, and power users need most, and has created an outstanding day-to-day reference, updated with assistance from new coauthor Matthew Helmke.
This title is 100 percent distribution and release agnostic. Packed with hundreds of high-quality, realistic examples, it presents Linux from the ground up: the clearest explanations and most useful information about everything from filesystems to shells, editors to utilities, and programming tools to regular expressions.
Use a Mac? You'll find coverage of the macOS command line, including macOS-only tools and utilities that other Linux/UNIX titles ignore.
A Practical Guide to Linux® Commands, Editors, and Shell Programming, Fourth Edition, is the only guide to deliver
Autorentext
Mark G. Sobell has forty years of experience working with UNIX and Linux systems and is the author of many best-selling books, including A Practical Guide to Fedora™ and Red Hat® Enterprise Linux®, Seventh Edition, and A Practical Guide to Ubuntu Linux®, Fourth Edition.
Matthew Helmke got his first computer in 1981, a TRS-80 Color Computer. He started using UNIX in 1987 while studying LISP. He works as a technical writer and has written about Linux and other topics for magazines and a diverse set of companies. He is the author of several books, including Ubuntu Unleashed, The Official Ubuntu Book, and VMware Cookbook.
Inhalt
Preface xxxv
Chapter 1: Welcome to Linux and macOS 1
The History of UNIX and GNU-Linux 3
What Is So Good About Linux? 6
Overview of Linux 11
Additional Features of Linux 16
Chapter Summary 18
Exercises 18
Part I: The Linux and macOS Operating Systems 21
Chapter 2: Getting Started 23
Conventions Used in This Book 24
Logging In from a Terminal (Emulator) 26
Working from the Command Line 28
su/sudo: Curbing Your Power (root Privileges) 32
Where to Find Documentation 33
More About Logging In and Passwords 42
Chapter Summary 46
Exercises 47
Advanced Exercises 48
Chapter 3: The Utilities 49
Special Characters 50
Basic Utilities 51
Working with Files 53
| (Pipeline): Communicates Between Processes 60
Four More Utilities 61
Compressing and Archiving Files 64
Locating Utilities 69
Displaying User and System Information 71
Communicating with Other Users 75
Email 77
Chapter Summary 77
Exercises 80
Advanced Exercises 81
Chapter 4: The Filesystem 83
The Hierarchical Filesystem 84
Directory Files and Ordinary Files 85
Pathnames 90
Working with Directories 92
Access Permissions 100
ACLs: Access Control Lists 106
Links 112
Chapter Summary 122
Exercises 124
Advanced Exercises 126
Chapter 5: The Shell 127
Special Characters 128
Ordinary Files and Directory Files 129
The Command Line 130
Standard Input and Standard Output 137
Running a Command in the Background 150
Filename Generation/Pathname Expansion 152
Builtins 157
Chapter Summary 158
Exercises 159
Advanced Exercises 160
Part II: The Editors 163
Chapter 6: The vim Editor 165
History 166
Tutorial: Using vim to Create and Edit a File 167
Introduction to vim Features 175
Command Mode: Moving the Cursor 181
Input Mode 185
Command Mode: Deleting and Changing Text 186
Searching and Substituting 190
Miscellaneous Commands 197
Copying, Moving, and Deleting Text 197
Reading and Writing Files 200
Setting Parameters 201
Advanced Editing Techniques 206
Units of Measure 210
Chapter Summary 213
Exercises 218
Advanced Exercises 219
Chapter 7: The emacs Editor 221
History 222
Tutorial: Getting Started with emacs 224
Basic Editing Commands 231
Online Help 238
Advanced Editing 240
Major Modes: Language-Sensitive Editing 255
Customizing emacs 265
More Information 270
Chapter Summary 270
Exercises 279
Advanced Exercises 280
Part III: The Shells 283
Chapter 8: The Bourne Again Shell (bash) 285
Background 286
Startup Files 288
Commands That Are Symbols 291
Redirecting Standard Error 292
Writing and Executing a Simple Shell Script 294
Control Operators: Separate and Group Commands 299
Job Control 304
Manipulating the Directory Stack 307
Parameters and Variables 310
Special Characters 325
Locale 326
Time 330
Processes 333
History 336
Aliases 352
Functions 356
Controlling bash: Features and Options 359
Processing the Command Line 364
Chapter Summary 374
Exercises 376
Advanced Exercises 378
Chapter 9: The TC Shell (tcsh) 379
Shell Scripts 380
Entering and Leaving the TC Shell 381
Features Common to the Bourne Again and TC Shells 383
Redirecting Standard Error 389
Working with the Command Line 390
Variables 396
Control Structures 408
Builtins 418
Chapter Summary 422
Exercises 423
Advanced Exercises 425
Part IV: Programming Tools 427
Chapter 10: Programming the Bourne Again Shell (bash) 429
Control Structures 430
File Descriptors 464
Parameters 470
Variables 479
Builtin Commands 489
Expressions 505
Implicit Command-Line Continuation 512
Shell Programs 513
Chapter Summary 523
Exercises 525
Advanced Exercises 527
Chapter 11: The Perl Scripting Language 529
Introduction to Perl 530
Variables 538
Control Structures 545
Working with Files 554
Sort 558
Subroutines 559
Regular Expressions 562
CPAN Modules 568
Examples 570
Chapter Summary 574
Exercises 574
Advanced Exercise…