Credit: no starch press Wicked Cool Shell Scripts: 101 Scripts for Linux, OS X, and Unix Systems by Dave Taylor and Brandon Perry, 2nd edition, no starch press (2017) is a book that can lift you up a notch in the super Unix techno-dweeb rankings. It’s that good. Not everything you encounter in your life as a Unix geek is going to rate being called “wicked cool”. Near as I can tell, this includes some of Tom’s of Maine toothpaste along with some kids’ toys, certain WordPress plugins, and the scripts in this book. The scripts are wicked cool because they can make you considerably better and more productive at using and managing your Linux systems. Let me put this into perspective. I’ve been writing shell scripts on Unix systems since 1983 and haven’t yet come close to having a set of even 25 scripts that are worthy of being dragged along with me from job to job, never mind 101 (actually 104 with the bonus scripts). Maybe you won’t use all of these scripts, but you’re likely to make use of many of them and dragging them from place to place is going to be dead easy. Even if you’re adept at writing your own scripts, you might not be this good. And getting a pile of scripts along with explanations of how each script works, what to expect when you use it, and possible tweaks that you might elect to implement is an incredible find. So, let’s take a quick look. First, the book covers fifteen fairly broad areas listed below. Each of these areas has between three and thirteen scripts, each with code, explanation, run information, and results. Table of Contents Chapter 1: The Missing Code Library Chapter 2: Improving on User Commands Chapter 3: Creating Utilities Chapter 4: Tweaking Unix Chapter 5: System Administration: Managing Users Chapter 6: System Administration: System Maintenance Chapter 7: Web and Internet Users Chapter 8: Webmaster Hacks Chapter 9: Web and Internet Administration Chapter 10: Internet Server Administration Chapter 11: OS X Scripts Chapter 12: Shell Script Fun and Games Chapter 13: Working with the Cloud Chapter 14: ImageMagick and Working with Graphics Files Chapter 15: Days and Dates Appendix A: Installing Bash on Windows 10 Appendix B: Bonus Scripts Index You can grab a full table of contents here. Just thumbing through the book and examining the scripts is fun. The variety of scripts is surprising and the coding techniques that you can pick up quite amazing. For example, you will find scripts to build a filenames database (all files on the system) and another to use the filenames database to locate a particular file. These can be very handy if you want to index your files weekly or overnight and save yourself a lot of time on a large server whenever you’re looking for some particular file. For another example, you’ll get a script that will find suid files that are also group or world writable — a serious security issue — and be told if they’ve been modified in the last 7 (this setting is modifiable, of course) days. $ sudo ./findsuid 2>/dev/null **** /tmp/.sneaky (modified within 7 days and setuid root) And that’s just three scripts out of the 104. Tweaking your system, managing users, working with the cloud, dealing with dates, web mastering, creating useful utilities … This book is a treasure trove of extremely useful scripts that you can use or modify and use to your heart’s content. And you can download the scripts — you don’t have to hand type any of them — from the no starch press site. Read more about the book — available as a paperback or as an e-book here. The first edition of this book was published in 2004. A lot of time has passed and much has happened since. This new edition covers a lot of important ground and is well worth that special spot you’ve on your bookshelf for the book that you need to be able to reach without standing up. This is one of those books you are likely to make very good use of in your Unix work life. Whether you’re a seasoned sysadmin or a rank beginner, you’re likely to find a lot of scripts in this book that will save you some serious time and effort, teach you something, and allow you to show off your scripting and systems administration skills. Related content opinion Why IoT for seniors is a lot tougher than it looks Senior citizens are often touted as a huge potential market for the Internet of Things (IoT), but progress may be slower than a retiree with a bad hip. By Fredric Paul Aug 02, 2018 5 mins Internet of Things Consumer Electronics opinion How edge computing makes voice assistants faster and more powerful Cloud platforms are well recognized for their role enabling voice-enabled devices, but edge computing plays a critical part that also deserves proper credit. By Anthony Murray Mar 09, 2018 5 mins Small and Medium Business Consumer Electronics Mobile news analysis IoT and the law of unintended consequences Strava’s fitness app usage heatmap accidentally reveals military deployments — and it won’t be the last time good IoT intentions lead to unanticipated problems. By Fredric Paul Jan 31, 2018 4 mins Internet of Things Consumer Electronics Security news analysis Forget the CES hype, IoT is all about industry Don’t let the excitement around CES distract you, the real future of IoT lies in business and industrial applications. By Fredric Paul Jan 09, 2018 3 mins Internet of Things Consumer Electronics PODCASTS VIDEOS RESOURCES EVENTS NEWSLETTERS Newsletter Promo Module Test Description for newsletter promo module. Please enter a valid email address Subscribe