I have written a number of shell scripts over the years that were intended to automate some of the tasks I perform as a SysAdmin. About 10 years ago I began adding the GPL V2 license to my code. I added the license statement in the comments, and later as an option that it could be printed by the user.
The last 15 years or so of my career was spent, at least in part, as an independent consultant for organizations and individuals wanting to try Linux. I used my programs in the systems I set up for my customers and I would send the occasional script to remote customers or other consultants. But I never really made my programs available in a public forum like GitHub or even a directory on my own web site.
In order to make these scripts more widely available I have posted them here so that you can download them and use them as you see fit. The code is all distributed under the GPL V2. The PDF documents are published under a Creative Commons Attribution-ShareAlike license.
If there is enough interest, I will add these scripts to my GitHub repository.
Files and descriptions
This section contains a list of the files currently contained in the download directory and a short description of each.
- Dolphin_guide.pdf – A Comprehensive Guide to the Dolphin File Manager. This 51-page PDF document provides a detailed description of the Dolphin file manager which is the default file manager for the KDE desktop on Fedora. It is also available for other desktops and distros. This document covers the use of Dolphin and explores some of its advanced features.
I wrote these scripts to automate some of the SysAdmin tasks I do on my Linux hosts. All of these are BASH scripts. They may require some modification to work properly on your distribution or hardware. I strongly recommend viewing the script source to understand what each script does, and that you test each script thoroughly in a test environment before using them in any type of production environment.
Note: This scripts are distributed under the GPL V2 license. They are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
For most of these script you can run them with the -h option to get help.
- createMOTDLinux – Creates /etc/motd based on data obtained from the host computer. This script is designed to be run by cron job but can also be run manually.
- doUpdates – Performs all updates, builds new GRUB2, and reboots if a new kernel or glibc was installed.
- mymotd – Generates an MOTD that contains information about the system hardware and the installed version of Linux. This is an updated version of createMOTDlinux that uses some better methods for obtaining hardware data.
- postinstall.sh – Installs useful administrative tools and programs immediately after a new Fedora or CentOS installation. This script is installed by my postinstall RPM package. This program installs the RPMFusion free and non-free repositories for Fedora if they are not already. It also installs all current updates. It has been tested on Fedora from release 22 up through Fedora 27. This program also supports CentOS 6 and 7. I strongly suggest that you edit this program to meet your specific needs before you use it for the first time. I further suggest that you test it extensively on non-production and non-critical hosts before you use it in any other manner.
- rsbu – Performs backups of local and remote hosts using rsync. It also uses the link capability of rsync to minimize storage usage for unmodified files for series of daily backups.
- rsbu.conf – The configuration file for rsbu. All user configuration is performed in this file.
- script.template.sh – A template to use when creating new BASH scripts.
- sysdata – Collects a great deal of hardware and software information about a Linux computer.
- UpgradeFedora.sh – This program upgrades from older versions of Fedora to a specified later one. Fedora 22 is the earliest release supported for upgrades using the tools in this program.
The full listing of the download directory allows you to see everything that is there.