Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Mastering Linux Shell Scripting

Buy

Key Features

  • Identify the high level steps such as verifying user input, using command lines and conditional statements in creating and executing simple shell scripts
  • Create and edit dynamic shell scripts to manage complex and repetitive tasks
  • Learn about scripting in Perl and programming in Python as a BASH scripting alternative with this practical, step-by-step guide

Book Description

Shell scripting is a quick method to prototype a complex application or a problem by automating tasks when working on Linux-based systems. Using both simple one-line commands and command sequences complex problems can be solved with ease, from text processing to backing up sysadmin tools.

In this book, you'll discover everything you need to know to master shell scripting and make informed choices about the elements you employ. Get to grips with the fundamentals of creating and running a script in normal mode, and in debug mode. Learn about various conditional statements' code snippets, and realize the power of repetition and loops in your shell script. Implement functions and edit files using the Stream Editor, script in Perl, program in Python – as well as complete coverage of other scripting languages to ensure you can choose the best tool for your project.

What you will learn

  • Use the type command to identify the order of command evaluation
  • Create interactive scripts that prompt for user input
  • Foster menu structures for operators with little command-line experience
  • Develop scripts that dynamically edit web configuration files to produce a new virtual host
  • Write scripts that use AWK to search and reports on log files
  • Draft effective scripts using functions as building blocks, reducing maintenance and build time
  • Make informed choices by comparing different script languages such as Perl and Python with BASH

About the Author

Andrew Mallett is the owner of The Urban Penguin and is a comprehensive provider for professional Linux software development, training, and services. Having always been a command-line fan, he feels that so much time can be saved through knowing command-line shortcuts and scripting. TheUrbanPenguin YouTube channel, maintained by Andrew, has well over 800 videos to support this and he has authored four other Packt titles.

Table of Contents

  1. What and Why of Scripting with Bash
  2. Creating Interactive Scripts
  3. Conditions Attached
  4. Creating Code Snippets
  5. Alternative Syntax
  6. Iterating with Loops
  7. Creating Building Blocks with Functions
  8. Introducing sed
  9. Automating Apache Virtual Hosts
  10. Awk Fundamentals
  11. Summarizing Logs with Awk
  12. A Better lastlog with Awk
  13. Using Perl as a Bash Scripting Alternative
  14. Using Python as a Bash Scripting Alternative
(HTML tags aren't allowed.)

SAS/FSP 9.2 Procedures Guide
SAS/FSP 9.2 Procedures Guide

Provides complete descriptions of all statements, options, windows, and commands that can be used with SAS/FSP software's FSBROWSE, FSEDIT, FSLETTER, and FSVIEW procedures.

The procedures in SAS/FSP software provide convenient interactive facilities for data
entry, editing, and retrieval. Using SAS/FSP software you can

AutoCAD 2009 & AutoCAD LT 2009 All-in-One Desk Reference For Dummies (Computer/Tech)
AutoCAD 2009 & AutoCAD LT 2009 All-in-One Desk Reference For Dummies (Computer/Tech)

9 books in 1 — your key to success with AutoCAD!

Your one-stop guide to creating great technical drawings using AutoCAD 2009

Nobody ever said AutoCAD was easy, which is why you need a book that is! These nine minibooks cover all the stuff you need to know to set up AutoCAD...

Business Model You: A One-Page Method For Reinventing Your Career
Business Model You: A One-Page Method For Reinventing Your Career

A one-page tool to reinvent yourself and your career

The global bestseller Business Model Generation introduced a unique visual way to summarize and creatively brainstorm any business or product idea on a single sheet of paper. Business Model You uses the same powerful one-page tool to teach readers how to draw...


How to Create the Next Facebook: Seeing Your Startup Through, from Idea to IPO
How to Create the Next Facebook: Seeing Your Startup Through, from Idea to IPO

In just under a decade, Facebook has gone from a Harvard prodigy's dorm-room experiment to an essential part of the social life of hundreds of millions of children, teens, and adults across the globe. It's no surprise, then, that the company has been the subject of countless magazine articles, books, and even movies. But despite the...

Apple Pro Training Series : Shake 4 (2nd Edition)
Apple Pro Training Series : Shake 4 (2nd Edition)
Talk about making an impact: Apple's Shake compositing and visual effects software has been used in every Academy Award-winning film for visual effects since its debut. It's no wonder that trained Shake artists are in high demand, and there's nowhere better to begin getting that training than with this fully updated (for Shake 4) and comprehensive...
Working With Objects:The Ooram Software Engineering Method
Working With Objects:The Ooram Software Engineering Method
The book describes the principles behind an industrial approach to software production. We claim that the technological basis of industrial software production should be object orientation. A large part of the book is devoted to explaining all the different things you can do with objects; we will also match the different...
©2021 LearnIT (support@pdfchm.net) - Privacy Policy