SenecaComputer.com

Linux Shell Scripts
Linux
shell scripts are a handy way to automate tasks or create shortcuts for
frequent activities. This page lists some examples of shell
scripts and shortcuts that may be of interest to Linux and Smoothwall firewall users.
All scripts are offered under the GNU Public License without any warranty or guarantee that they will function correctly on your system. Feel free to use or modify them as you see fit.
- howtogeek.sh - A script to download the daily geek comic from www.howtogeek.com to your desktop.
- record.sh - A script for radio listeners and DX'ers to automatically record radio programs or station ID's via your soundcard.
- multiple browser tabs - A simple way to open multiple web sites with one click. Works for Firefox or Google Chrome.
- game1.sh - A scripting exercise for a simple random number guessing game using the "if construct".
- game2.sh - A scripting exercise for a simple random number guessing game using the "case construct".
- game3.sh - A scripting exercise for a more complex number guessing game using the "if construct" and nested loops.
- random.sh - A brief script to generate four unique random numbers, using the eval command.
- access - Create a shortcut to monitor the Smoothwall access log from the firewall console.
- ftplog.sh - How to automatically FTP your Smoothwall firewall access logs to a remote host.
- pingtest - Automatically monitor your ISP's connectivity and log outages.