Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Linux Command Line and Shell Scripting Bible - Third Edition

You're reading from  Linux Command Line and Shell Scripting Bible - Third Edition

Product type Book
Published in Jan 2015
Publisher Wiley
ISBN-13 9781118983843
Pages 816 pages
Edition 3rd Edition
Languages
Authors (2):
Richard Blum Richard Blum
Profile icon Richard Blum
Christine Bresnahan Christine Bresnahan
Profile icon Christine Bresnahan
View More author details

Table of Contents (34) Chapters

1. Introduction 2. Part I: The Linux Command Line
3. Chapter 1: Starting with Linux Shells 4. Chapter 2: Getting to the Shell 5. Chapter 3: Basic bash Shell Commands 6. Chapter 4: More bash Shell Commands 7. Chapter 5: Understanding the Shell 8. Chapter 6: Using Linux Environment Variables 9. Chapter 7: Understanding Linux File Permissions 10. Chapter 8: Managing Filesystems 11. Chapter 9: Installing Software 12. Chapter 10: Working with Editors 13. Part II: Shell Scripting Basics
14. Chapter 11: Basic Script Building 15. Chapter 12: Using Structured Commands 16. Chapter 13: More Structured Commands 17. Chapter 14: Handling User Input 18. Chapter 15: Presenting Data 19. Chapter 16: Script Control 20. Part III: Advanced Shell Scripting
21. Chapter 17: Creating Functions 22. Chapter 18: Writing Scripts for Graphical Desktops 23. Chapter 19: Introducing sed and gawk 24. Chapter 20: Regular Expressions 25. Chapter 21: Advanced sed 26. Chapter 22: Advanced gawk 27. Chapter 23: Working with Alternative Shells 28. Part IV: Creating Practical Scripts
29. Chapter 24: Writing Simple Script Utilities 30. Chapter 25: Producing Scripts for Database, Web, and E-Mail 31. Chapter 26: Creating Fun Little Shell Scripts 32. End User License Agreement
Appendix A: Quick Guide to bash Commands 1. Appendix B: Quick Guide to sed and gawk

How This Book Is Organized

This book leads you through the basics of the Linux command line and into more complicated topics, such as creating your own shell scripts. The book is divided into four parts, each one building on the previous parts.

Part I assumes that you either have a Linux system running or are looking into getting a Linux system. Chapter 1, “Starting with Linux Shells,” describes the parts of a total Linux system and shows how the shell fits in. After describing the basics of the Linux system, this part continues with the following:

  • Using a terminal emulation package to access the shell (Chapter 2)
  • Introducing the basic shell commands (Chapter 3)
  • Using more advanced shell commands to peek at system information (Chapter 4)
  • Understanding what the shell is used for (Chapter 5)
  • Working with shell variables to manipulate data (Chapter 6)
  • Understanding the Linux filesystem and security (Chapter 7)
  • Working with Linux filesystems from the command line (Chapter 8)
  • Installing and updating software from the command line (Chapter 9)
  • Using the Linux editors to start writing shell scripts (Chapter 10)

In Part II, you begin writing shell scripts. As you go through the chapters, you'll do the following:

  • Learn how to create and run shell scripts (Chapter 11)
  • Alter the program flow in a shell script (Chapter 12)
  • Iterate through code sections (Chapter 13)
  • Handle data from the user in your scripts (Chapter 14)
  • See different methods for storing and displaying data from your Script (Chapter 15)
  • Control how and when your shell scripts run on the system (Chapter 16)

Part III dives into more advanced areas of shell script programming, including these things:

  • Creating your own functions to use in all your scripts (Chapter 17)
  • Utilizing the Linux graphical desktop for interacting with your script users (Chapter 18)
  • Using advanced Linux commands to filter and parse data files (Chapter 19)
  • Using regular expressions to define data (Chapter 20)
  • Learning advanced methods of manipulating data in your scripts (Chapter 21)
  • Generating reports from raw data (Chapter 22)
  • Modifying your shell scripts to run in other Linux shells (Chapter 23)

The last section of the book, Part IV, demonstrates how to use shell scripts in real-world environments. In this part, you will learn these things:

  • How to put all the scripting features together to write your own scripts (Chapter 24)
  • How to store and retrieve data using databases, access data on the Internet, and send e-mail messages (Chapter 25)
  • Write more advanced shell scripts to interact on your Linux system (Chapter 26)

Cautions, Tips, and Notes

You will find many different organizational and typographical features throughout this book designed to help you get the most of the information.

Downloadable code

You can obtain the book's code files at www.wiley.com/go/linuxcommandline.

Next Chapter arrow right
You have been reading a chapter from
Linux Command Line and Shell Scripting Bible - Third Edition
Published in: Jan 2015 Publisher: Wiley ISBN-13: 9781118983843
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}