Bash
Bash is the shell used under Ubuntu Linux, i.e., the program that “runs” in the terminal and interprets your commands. It allows you to start and interact with other programs via the command line. Learn more at https://www.gnu.org/software/bash.
Recursively Deleting Empty Files and Directories under Linux
Sometimes, we have the need to delete empty files and empty directories under Linux. This happens, for example, when we want to restart an experiment with moptipy. Here I post a small Bash script that you may store as file deleteZeroSizedFiles.sh. It will do exactly that: It will search the current directory and all subdirectories for empty files, i.e., files of size zero. It will delete all of them. Then, it will recursively look for empty directories, i.e., directories that do not contain files or other directories. It will delete them as well.