Linux Shell Scripting Cookbook
Book Description
GNU/Linux is a remarkable operating system that comes with a complete development environment that is stable, reliable, and extremely powerful. The shell being the native interface to communicate with the operating system is capable of controlling the entire operating system. There are numerous commands on Linux shell which are documented but hard to understand. The man pages are helpful but they are very lengthy and it does not give any clues on key areas where commands can be used. Proper usage of shell commands can easily solve many complex tasks with a few lines of code, but most linux users don’t have the right know-how to use the Linux shell to its full potential.
Linux Shell Scripting Cookbook is a collection of essential command-line recipes along with detailed descriptions tuned with practical applications. It covers most of the commands on Linux with a variety of usecases accompanied by plenty of examples. This book helps you to perform complex data manipulations involving tasks such as text processing, file management, backups and more with the combination of few commands.
Linux Shell Scripting Cookbook shows you how to capitalize on all the aspects of Linux using the shell scripting language. This book teaches you how to use commands to perform simple tasks all the way to scripting complex tasks such as managing large amounts of data on a network.
It guides you on implementing some of the most common commands in Linux with recipes that handle any of the operations or properties related with files like searching and mining inside a file with grep. It also shows you how utilities such as sed, awk, grep, cut can be combined to solve text processing related problems. The focus is on saving time by automating many activities that we perform interactively through as browser with a few lines of script.
This book will take you from a clear problem description to a fully functional program. The recipes contained within the chapter will introduce the reader to specific problems and provide hands-on solutions.
This practical book will help you gain control over all the aspects of Linux using the powerful shell scripting language
What you will learn from this book
Explore a variety of regular usage tasks and how it can be made faster using shell command
Couple frequently used commands like grep, find, sed, awk
Write shell scripts that can dig data from web and process it with few lines of code
Perform and automate tasks such as automating backups and restore with archiving tools
Understand file systems, file types and manipulations
Create and maintain file/folder archives, compression formats and encrypting techniques with shell
Set up Ethernet and Wireless LAN with the shell script
Monitor different activities on the network using logging techniques
Approach
This book is written in cookbook style and it offers learning through recipes with examples and illustrations. Each recipe contains step-by-step instructions about everything necessary to execute a particular task. The book is designed so that you can read it from start to end for beginner’s or just open up any chapter and start following the recipes as a reference for advanced users.
Who this book is written for
If you are a beginner or an intermediate user who wants to master the skill of quickly writing scripts to perform various tasks without reading the entire man pages, this book is for you. You can start writing scripts and one-liners by simply looking at the similar recipe and its descriptions without any working knowledge of shell scripting or Linux. Intermediate/advanced users as well as system adminstrators/ developers and programmers can use this book as a reference when they face problems while coding.
Book Details
Paperback: 360 pages
Publisher: Packt Publishing (January, 2011)
Language: English
ISBN-10: 1849513767
ISBN-13: 978-1849513760
File Size: 12.4 MiB
[下载地址]