Writing Bash to Win and Profit

In this chapter, we will introduce the following topics:

  • Creating a lame utility HTTP server
  • Parsing RSS feeds and output HTML
  • Scraping the web and collecting files
  • Making a simple IRC chat bot logger
  • Blocking IP addresses from failed SSH attempts
  • Playing and managing audio from Bash
  • Creating a simple NAT and DMZ firewall
  • Parsing a GitHub project and generate a report
  • Creating a poor man's incremental remote backup
  • Using Bash scripts to monitor udev input
  • Using Bash to monitor battery life and optimize it
  • Using chroot and Restricted Bash shells to secure scripts

Get Bash Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.