Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Bash Cookbook: Leverage Bash scripting to automate daily tasks and improve productivity


Create simple to advanced shell scripts and enhance your system functionality with effective recipes

Key Features

  • Automate tedious and repetitive tasks
  • Create several novel applications ranging from a simple IRC logger to a Web Scraper
  • Manage your system efficiently by becoming a seasoned Bash user

Book Description

In Linux, one of the most commonly used and most powerful tools is the Bash shell. With its collection of engaging recipes, Bash Cookbook takes you through a series of exercises designed to teach you how to effectively use the Bash shell in order to create and execute your own scripts.

The book starts by introducing you to the basics of using the Bash shell, also teaching you the fundamentals of generating any input from a command. With the help of a number of exercises, you will get to grips with the automation of daily tasks for sysadmins and power users. Once you have a hands-on understanding of the subject, you will move on to exploring more advanced projects that can solve real-world problems comprehensively on a Linux system. In addition to this, you will discover projects such as creating an application with a menu, beginning scripts on startup, parsing and displaying human-readable information, and executing remote commands with authentication using self-generated Secure Shell (SSH) keys.

By the end of this book, you will have gained significant experience of solving real-world problems, from automating routine tasks to managing your systems and creating your own scripts.

What you will learn

  • Understand the basics of Bash shell scripting on a Linux system
  • Gain working knowledge of how redirections and pipes interact
  • Retrieve and parse input or output of any command
  • Automate tasks such as data collection and creating and applying a patch
  • Create a script that acts like a program with different features
  • Customize your Bash shell and discover neat tricks to extend your programs
  • Compile and install shell and log commands on your system's console using Syslog

Who this book is for

The Bash Cookbook is for you if you are a power user or system administrator involved in writing Bash scripts in order to automate tasks. This book is also ideal if you are interested in learning how to automate complex daily tasks.

Table of Contents

  1. Crash Course in Bash
  2. Acting Like a Typewriter and File Explorer
  3. Understanding and Gaining File System Mastery
  4. Making a Script Behave Like a Daemon
  5. Scripts for System Administration Tasks
  6. Scripts for Power Users
  7. Writing Bash to Win and Profit
  8. Advanced Scripting Techniques
(HTML tags aren't allowed.)

Thinking in Java (3rd Edition)
Thinking in Java (3rd Edition)

Like any human language, Java provides a way to express concepts. If successful, this medium of expression will be significantly easier and more flexible than the alternatives as problems grow larger and more complex.

You can’t look at Java as just a collection of features—some of the features make...

Materials and Innovative Product Development: Using Common Sense
Materials and Innovative Product Development: Using Common Sense
Harness the power of materials R&D within the design cycle and realize the massive economic benefits of new materials and innovation with traditional materials.

Innovation in product design starts with materials. Developing successful commercial products demands a sound understanding of the materials that go into those
Instant Cucumber BDD How-to
Instant Cucumber BDD How-to

A short and quick guide to mastering behavior-driven software development with Cucumber


  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results.
  • A step-by-step process of developing a real project in a BDD-style using Cucumber
  • Pro...

Podcasting Bible
Podcasting Bible
"This is the book that you'll want to read about podcasting—the technology that everyday people, in addition to the big-name radio networks, are using to broadcast to the world."
— Robert Scoble, Vice President Media Development, Podtech.net

Create and market successful podcasts from your desktop, for...

Mac OS X Version 10.3 Panther Fast & Easy
Mac OS X Version 10.3 Panther Fast & Easy

Navigate the Aqua interface like a pro as you quickly master version 10.3 tasks, including managing your files and disks and customizing your Mac. From the basics of working with menus and desktop setup to the cool features of iTunes, iPhoto, and iChat, you'll handle your Mac with confidence. Full of step-by-step instructions and...

Game Developer's Marketplace
Game Developer's Marketplace
In 1995 I got a call from Keith Weiskamp, who wanted me to turn a bunch of notes I was putting out on the Internet into a book about game development. That book became the Ultimate Game Developer’s Sourcebook, and it was a chance for me to really document an industry I love. It will forever hold a special place in my life.

As I set
©2019 LearnIT (support@pdfchm.net) - Privacy Policy