#!/bin/sh dst="/usr/local/bin/xfw"; echo "Remove the symlink to $dst ? (y,n)"; read removelink; echo "\n"; if [ "$removelink" = "y" ]; then rm $dst && echo "* The command \`xfw\` is no more accessible." || echo "* aborting"; else echo "* aborting"; fi;