Skip to Content
Linux Command Line and Shell Scripting Bible, 4th Edition
book

Linux Command Line and Shell Scripting Bible, 4th Edition

by Richard Blum, Christine Bresnahan
January 2021
Intermediate to advanced content levelIntermediate to advanced
832 pages
18h 3m
English
Wiley
Content preview from Linux Command Line and Shell Scripting Bible, 4th Edition

CHAPTER 24Writing Simple Script Utilities

Shell scripts are all about automating tasks, making your life easier, and letting the system handle the boring jobs.

We've included several sample useful scripts throughout the book, and this chapter adds some additional ones. Learning how to write Bash script utilities will pay you back many times over. And the beauty of shell scripts is that they are easily customized for your particular needs — especially now that you are almost a Bash script-writing guru!

Performing Backups

Whether you're responsible for a Linux system in a large corporate environment or a small mom-and-pop shop, or you're just using it at home, the loss of data can be catastrophic. To help prevent bad things from happening, it's always a good idea to perform regular backups (also called archives).

However, what's a good idea and what's practical are often two separate things. Trying to arrange a backup schedule to store important project files can be a challenge. This is another place where shell scripts often come to the rescue.

If you desire ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux Command Line and Shell Scripting Bible, 3rd Edition

Linux Command Line and Shell Scripting Bible, 3rd Edition

Christine Bresnahan, Richard Blum

Publisher Resources

ISBN: 9781119700913Purchase Link