Bash Script Get Command Block