Linux Command Line And Shell Scripting Bible

By (author) Richard Blum
اتصل بنا للحصول على تفاصيل التسليم
By (author) Richard Blum; By (author) Blum Richard; By (author) Bresnahan Christine
Short description/annotation
Talk directly to your system for a faster workflow with automation capability Linux Command Line and Shell Scripting Bible is your essential Linux guide.
Description
Talk directly to your system for a faster workflow with automation capability Linux Command Line and Shell Scripting Bible is your essential Linux guide. With detailed instruction and abundant examples, this book teaches you how to bypass the graphical interface and communicate directly with your computer, saving time and expanding capability. This third edition incorporates thirty pages of new functional examples that are fully updated to align with the latest Linux features. Beginning with command line fundamentals, the book moves into shell scripting and shows you the practical application of commands in automating frequently performed functions. This guide includes useful tutorials, and a desk reference value of numerous examples. The Linux command line allows you to type specific shell commands directly into the system to manipulate files and query system resources. Command line statements can be combined into short programs called shell scripts, a practice increasing in popularity due to its usefulness in automation. This book is a complete guide providing detailed instruction and expert advice working within this aspect of Linux. * Write simple script utilities to automate tasks * Understand the shell, and create shell scripts * Produce database, e-mail, and web scripts * Study scripting examples ranging from basic to advanced Whether used as a tutorial or as a quick reference, this book contains information that every Linux user should know. Why not learn to use the system to its utmost capability? Linux is a robust system with tremendous potential, and Linux Command Line and Shell Scripting Bible opens the door to new possibilities.
Table of contents
Introduction xxxi Part I: The Linux Command Line 1 Chapter 1: Starting with Linux Shells 3 What Is Linux? 3 Looking into the Linux kernel 4 The GNU utilities 9 The Linux desktop environment 11 Linux Distributions 17 Summary 21 Chapter 2: Getting to the Shell 23 Reaching the Command Line 23 Accessing CLI via a Linux Console Terminal 25 Accessing CLI via Graphical Terminal Emulation 28 Using the GNOME Terminal Emulator 29 Using the Konsole Terminal Emulator 35 Using the xterm Terminal Emulator 41 Summary 44 Chapter 3: Basic bash Shell Commands 47 Starting the Shell 47 Using the Shell Prompt 48 Interacting with the bash Manual 49 Navigating the Filesystem 52 Listing Files and Directories 59 Handling Files 64 Managing Directories 73 Viewing File Contents 77 Viewing parts of a file 81 Summary 83 Chapter 4: More bash Shell Commands 85 Monitoring Programs 85 Monitoring Disk Space 96 Working with Data Files 102 Summary 111 Chapter 5: Understanding the Shell 113 Exploring Shell Types 113 Exploring Parent and Child Shell Relationships 115 Understanding Shell Built-In Commands 125 Summary 132 Chapter 6: Using Linux Environment Variables 135 Exploring Environment Variables 135 Setting User-Defined Variables 138 Removing Environment Variables 142 Uncovering Default Shell Environment Variables 143 Setting the PATH Environment Variable 148 Locating System Environment Variables 150 Learning about Variable Arrays 158 Summary 159 Chapter 7: Understanding Linux File Permissions 161 Linux Security 161 Using Linux Groups 172 Decoding File Permissions 175 Changing Security Settings 179 Sharing Files 182 Summary 184 Chapter 8: Managing Filesystems 187 Exploring Linux Filesystems 187 Understanding the copy-on-write filesystems 192 Working with File