#!/bin/bash if [[ $(ld --version) =~ "gold" ]] ; then echo -e "\033[1;31mld gold is in use!!\033[0m" fi