Wicked Cool Shell Scripts, 2nd Edition
101 Scripts for Linux, OS X, and UNIX Systems
-
-
3.7 • 3 Ratings
-
-
- $20.99
-
- $20.99
Publisher Description
Shell scripts are an efficient way to interact with your machine and manage your files and system operations. With just a few lines of code, your computer will do exactly what you want it to do. But you can also use shell scripts for many other essential (and not-so-essential) tasks.
This second edition of Wicked Cool Shell Scripts offers a collection of useful, customizable, and fun shell scripts for solving common problems and personalizing your computing environment. Each chapter contains ready-to-use scripts and explanations of how they work, why you’d want to use them, and suggestions for changing and expanding them. You'll find a mix of classic favorites, like a disk backup utility that keeps your files safe when your system crashes, a password manager, a weather tracker, and several games, as well as 23 brand-new scripts, including:
– ZIP code lookup tool that reports the city and state
– Bitcoin address information retriever
– suite of tools for working with cloud services like Dropbox and iCloud
– for renaming and applying commands to files in bulk
– processing and editing tools
Whether you want to save time managing your system or just find new ways to goof off, these scripts are wicked cool!
Customer Reviews
Decent Starter
It’s filled with BASHisms, not POSIX-compliant shell scripts. Bad practices are modeled ad nauseam: failure to double-quote variables, using "[ x -o y ]" as "[ x ] || [ y ]", using "! -z” instead of “-n”, occasional unicode quotes and dashes, parsing “ls", failure to check that commands suceed before continuing, using unnecessary quotes in arithmetic variables, failure to add invalid flags in case statements, occasional failure to use “$()” instead of “``” in command substitution, and many, many, many more. Most of the scripts are not done in excellent modern practice. Nonetheless, a beginner in shell scripting would probably find this book to be quite enlightening. There’s a wide rift between “wicked cool shell scripts” and professionally developed shell scripts. Take your skills to the next level by finding all of the bad practices that have been modeled in the book.