Items related to Mastering Linux Shell Scripting - Second Edition: A...

Mastering Linux Shell Scripting - Second Edition: A practical guide to Linux command-line and shell scripting - Softcover

 
9781788990554: Mastering Linux Shell Scripting - Second Edition: A practical guide to Linux command-line and shell scripting

Synopsis

Master the complexities of Bash shell scripting and unlock the power of shell for your enterprise

Key Features

  • Identify high-level steps such as verifying user input
  • Using the command line and conditional statements in creating/executing simple shell scripts
  • Create and edit dynamic shell scripts to manage complex and repetitive tasks
  • Leverage the command-line to bypass GUI and automate common tasks

Book Description

In this book, you'll discover everything you need to know to master shell scripting and make informed choices about the elements you employ.

Grab your favorite editor and start writing your best Bash scripts step by step. 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. You will also learn to write complex shell scripts. This book will also deep dive into file system administration, directories, and system administration like networking, process management, user authentications, and package installation and regular expressions. Towards the end of the book, you will learn how to use Python as a BASH Scripting alternative.

By the end of this book, you will know shell scripts at the snap of your fingers and will be able to automate and communicate with your system with keyboard expressions.

What you will learn

  • Make, execute, and debug your first Bash script
  • 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 Python with BASH

Who This Book Is For

If you are a Linux administrator or a system administrator and are interested in automating tasks in your daily lives, saving time and effort, this book is for you. Basic shell scripting and command-line experience will be required. Familiarity with the tasks you need to automate will be helpful.

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. Regular expressions
  12. Summarizing Logs with awk
  13. A Better lastlog with Awk
  14. Using Python as a BASH Scripting Alternative

"synopsis" may belong to another edition of this title.

About the Author

Mokhtar Ebrahim started by working as a PHP developer since 2005 as a freelancer then he worked for some Egyptian companies as a full-time developer. After that, he shifted his work to GNU/Linux and server administration since 2010 during his work in Royal Commission in Saudi Arabia. He is responsible for maintaining, securing, and troubleshooting Linux servers for multiple clients around the world. He loves writing shell and Python scripts to automate his work. He writes technical articles on his website about Linux, Python, web development, and server administration. He is a father to a beautiful girl and a husband to a faithful wife.

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.

"About this title" may belong to another edition of this title.

  • PublisherPackt Publishing - ebooks Account
  • Publication date2018
  • ISBN 10 1788990552
  • ISBN 13 9781788990554
  • BindingPaperback
  • LanguageEnglish
  • Edition number2
  • Number of pages323

Buy Used

Condition: Good
Ship within 24hrs. Satisfaction... View this item

Shipping: FREE
Within U.S.A.

Destination, rates & speeds

Add to basket

Search results for Mastering Linux Shell Scripting - Second Edition: A...

Stock Image

Mokhtar Ebrahim;Andrew Mallett
ISBN 10: 1788990552 ISBN 13: 9781788990554
Used Paperback

Seller: BooksRun, Philadelphia, PA, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: Good. 2nd edition. Ship within 24hrs. Satisfaction 100% guaranteed. APO/FPO addresses supported. Seller Inventory # 1788990552-11-1

Contact seller

Buy Used

US$ 25.16
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 3 available

Add to basket

Stock Image

Mallett, Andrew, Ebrahim, Mokhtar
Published by Packt Publishing, Limited, 2018
ISBN 10: 1788990552 ISBN 13: 9781788990554
Used Softcover

Seller: Better World Books, Mishawaka, IN, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Very Good. Used book that is in excellent condition. May show signs of wear or have minor defects. Seller Inventory # 50141386-6

Contact seller

Buy Used

US$ 26.04
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Mallett, Andrew,Ebrahim, Mokhtar
Published by Packt Publishing, 2018
ISBN 10: 1788990552 ISBN 13: 9781788990554
Used Paperback

Seller: HPB-Red, Dallas, TX, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: Good. Connecting readers with great books since 1972! Used textbooks may not include companion materials such as access codes, etc. May have some wear or writing/highlighting. We ship orders daily and Customer Service is our top priority! Seller Inventory # S_408447217

Contact seller

Buy Used

US$ 23.14
Convert currency
Shipping: US$ 3.75
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Mokhtar Ebrahim;Andrew Mallett
ISBN 10: 1788990552 ISBN 13: 9781788990554
Used Softcover

Seller: Goodwill Books, Hillsboro, OR, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Good. Signs of wear and consistent use. Seller Inventory # 3IIT030058HP_ns

Contact seller

Buy Used

US$ 23.14
Convert currency
Shipping: US$ 3.99
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Mokhtar Ebrahim;Andrew Mallett
ISBN 10: 1788990552 ISBN 13: 9781788990554
Used Softcover

Seller: Goodwill Industries of VSB, Oxnard, CA, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Good. The book is nice and 100% readable, but the book has visible wear which may include stains, scuffs, scratches, folded edges, sticker glue, torn on front page,highlighting, notes, and worn corners. Seller Inventory # 4JQO8Z006B73

Contact seller

Buy Used

US$ 26.02
Convert currency
Shipping: US$ 3.99
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Seller Image

Mokhtar Ebrahim;Andrew Mallett
ISBN 10: 1788990552 ISBN 13: 9781788990554
New Softcover

Seller: GreatBookPrices, Columbia, MD, U.S.A.

Seller rating 4 out of 5 stars 4-star rating, Learn more about seller ratings

Condition: New. Seller Inventory # 32728092-n

Contact seller

Buy New

US$ 39.85
Convert currency
Shipping: US$ 2.64
Within U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Stock Image

Mokhtar Ebrahim;Andrew Mallett
ISBN 10: 1788990552 ISBN 13: 9781788990554
New Softcover

Seller: Lucky's Textbooks, Dallas, TX, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. Seller Inventory # ABLIING23Mar2912160182914

Contact seller

Buy New

US$ 38.51
Convert currency
Shipping: US$ 3.99
Within U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Seller Image

Ebrahim, Mokhtar
Published by Packt Publishing 4/19/2018, 2018
ISBN 10: 1788990552 ISBN 13: 9781788990554
New Paperback or Softback

Seller: BargainBookStores, Grand Rapids, MI, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback or Softback. Condition: New. Mastering Linux Shell Scripting - Second Edition 1.08. Book. Seller Inventory # BBS-9781788990554

Contact seller

Buy New

US$ 43.11
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 5 available

Add to basket

Stock Image

Mokhtar Ebrahim;Andrew Mallett
ISBN 10: 1788990552 ISBN 13: 9781788990554
New Softcover

Seller: California Books, Miami, FL, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. Seller Inventory # I-9781788990554

Contact seller

Buy New

US$ 44.00
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Seller Image

Mokhtar Ebrahim;Andrew Mallett
ISBN 10: 1788990552 ISBN 13: 9781788990554
Used Softcover

Seller: GreatBookPrices, Columbia, MD, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: As New. Unread book in perfect condition. Seller Inventory # 32728092

Contact seller

Buy Used

US$ 41.62
Convert currency
Shipping: US$ 2.64
Within U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

There are 12 more copies of this book

View all search results for this book