#!/usr/bin/env bash # A dummy script incorporated to a gist for the sake of simplicity to install srm. # Credit: http://techies-world.com/install-srm-secure-remove-command/ cd "$(mktemp -d)" || exit echo "Starting to download srm file..." sudo apt install build-essential wget http://downloads.sourceforge.net/project/srm/1.2.15/srm-1.2.15.tar.gz tar -zxvf srm-1.2.15.tar.gz cd srm-1.2.15 || exit sh ./configure make sudo make install echo "srm successfully installed."