#!/bin/bash if [ -n "$(pgrep HGScanTool$)" ];then kill $(pgrep HGScanTool$) fi