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’s 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.3)
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
These are scripts and aliases that I use everyday. Most are for Ubuntu and Linux Mint but one or two work on CentOS. These are tools that I have talked about in past videos and people always ask me to share them. I have finally created a GitHub repository for them. Most of these will require a lot of editing to make them work on your network and system. I’m hoping they will be a springboard you can use to build your own customized tools. You can download the zip file or visit the GitHub page.
Watch the video:
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.
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.