This page has links to a number of BASH scripts that you can download and use on your own system. This page is for more advanced Linux users who already are familiar with BASH. Scroll down to see what’ts available.
Have fun with these! Feel free to do with them as you will but keep in mind that I have not tested them on every other Linux distribution available and I cannot offer support to you if they don’t work on yours. I would love to hear your comments and I will happily look at any suggestions for new features or code fixes but I do not have the time or inclination to run and test your modified versions, act as a beta tester or even offer useful advice if your changes are not working. I am NOT an expert; I am simply sharing tools that I use everyday.
BU – – USB Backup Tool
BU is a program that makes keeping all of your user data safely backed up on a dedicated External USB drive easy. It is a leaner meaner version of the XBT backup script that came before it.
BU will update files that have changed, remove files that have been deleted and add any new files that have been created since the last backup. The initial backup can take a lot of time if you have a lot of data stored in your system’s /home directory. BU creates a directory with the host name of the machine it’s backing up from inside BU_Backups. This allows users to share one BU_Drive with multiple machines.
Watch the video to learn how to download and setup BU:
CYA (Cover Your Ass(ets))
CYA is a joint project with Jeremy O’Connell at CyberwebSolutions that offers users a way to backup and restore the state of their Linux systems. CYA is designed to work on most Linux distributions and is great for Desktops, Server and IoT applications. It can be easily automated so you can “set it and forget it.” CYA is a very advanced tool and will appeal to System Admins but installation and setup is highly automated so even a novice can use it.
To learn more about CYA and download a Zip archive file click here:
Watch the video where Jeremy and I talk about the development and theory behind CYA:
Up — Debian/Ubuntu Update Tool (Version 1.2)
Up is a script that makes keeping Debian/Ubuntu based systems up to date super easy. This is a great tool for working with remote systems that you update through SSH. There is a much earlier version of Up included with the EzeeLinux Bash Script Collection offered further down on this page. This is a more sophisticated script that gives more options at the command line and is now openly developed on GitHub.
From the README:
Up is a tool that automates the update procedure for Debian and Ubuntu based Linux systems.
Unzip the “up” bash script from the zip archive and move it to either /usr/local/bin or ~/bin. You can either do this from a command line or simply drag the file out of Archive Manager to wherever you’d like it to go.
Note: scripts that are run from the ~/bin directory cannot be prefixed with ‘sudo’ as the system will fail to find them. Those who intend to run up from a script for cron, anacron or systemd timers should place it in /usr/local/bin This is also the best practice if there are more than one administrator accounts on the machine.
Watch the video about Up:
Show — Terminal Text Display Tool
Show displays text files in a terminal and formats to the terminal emulator
display window but adds no other characters on the screen. Show is great for
screencasts and presentations.
You can give show as many files to work with as you like, just list one
after another in the order you’d like to display them. Pressing any key
will advance to the next file. The screen will be cleared but the user can
scroll up to see the contents of the last file displayed. Pressing any key
after the files have all been displayed will add a line to the bottom of
the screen letting you know that there are no more files. Press any key
once again to clear the screen and exit the program.
PreShrink-VM — VirtualBox Linux Guest Shrink Preparation Tool
Preshrink-VM is a tool that prepares Linux VirtualBox VM’s to be shrunk with the vboxmanage modifyhd </path/to/thedisk.vdi> –compact command. All free space must be set to “zeros” for the command to work most efficiently.
VirtualBox users can install this script into their VMs and use it to prepare virtual drives for shrinking.
P2V – Creates a Video from a Picture and Audio File (Version 1.0)
P2V creates a high quality video file from a picture file and an audio file. You can choose whatever kind of picture file and audio file you want — the output will always be a 1280p wide .mkv video file with flac audio.
Watch the video about P2V!
EzeeLinux BASH Script Collection
(SFTPin – SSHin – SyncIt – Up – XBT (External Backup Tool) 1.7 – Z-Clean – Z-Defrag)
This file contains seven tools that I have created for my own use. They have been featured in videos on my YouTube channel. Be sure to take the time to look through the included README file for explanations and tips on using them.
Note: XBT now allows users to backup more than one machine on the same drive! Version 1.6 and up creates a directory called XBT_Backups and then places directories with the machines names within it. The log file also is tucked in to XBT-Backups making for a neater layout. If you have been using an earlier version of XBT, you should delete the old backups or reformat your XBT_Drive before using the new version 1.7
Watch the video about XBT 1.7:
EzeeLinux Tweaks and Tricks
This is not a script but a text file with a collection of useful commands. You can use these to clean things up, boast performance or just have fun with Linux. Watch the video for a more in-depth explanation of many of the commands.
Ubuntu/Linux Mint Installation Scripts
Here are a couple of scripts I use to speed up installing 3rd party software on Ubuntu and Linux Mint. Feel freee to change these to fit you’re setup. The idea is to keep a copy with you data backup and if you have to reload it will make it a quick and relatively painless operation.
More to come…
DISCIAIMER: THIS SOFTWARE IS PROVIDED BY EZEELINUX “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL EZEELINUX BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.