Table of Contents for
Linux Shell Scripting Bootcamp
Close
Version ebook
/
Retour
Linux Shell Scripting Bootcamp
by James Kent Lewis
Published by Packt Publishing, 2017
Cover
Table of Contents
Linux Shell Scripting Bootcamp
Linux Shell Scripting Bootcamp
Credits
About the Author
Acknowledgement
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
1. Getting Started with Shell Scripting
Demonstrating the use of scripts
Summary
2. Working with Variables
Validating parameters using conditional statements
Comparison operators for strings
Environment variables
Summary
3. Using Loops and the sleep Command
Screen manipulation
Indenting your code
Using the for statement
Leaving a loop early
The sleep command
Watching a process
Creating numbered backup files
Summary
4. Creating and Calling Subroutines
File redirection
Command piping
Subroutines
Using parameters
Making a current backup of your work
Summary
5. Creating Interactive Scripts
Summary
6. Automating Tasks with Scripts
Summary
7. Working with Files
Reading files
Reading and writing files
Reading and writing files interactively
File checksums
File encryption
Summary
8. Working with wget and curl
wget and recursion
wget options
curl
Summary
9. Debugging Scripts
Automatic backups
More syntax errors
Logic errors
Using set to debug scripts
Summary
10. Scripting Best Practices
ssh and scp
Find and use a good text editor
Environment variables and aliases
ssh prompt
Testing an archive
Progress indicator
Creating new commands from a template
Alerting the user
Summary
Index
Next
Next Chapter
Table of Contents
Next
Next Chapter
Table of Contents