#!/bin/bash for i in $(pgrep -f gdc-finance-api.jar); do kill -9 "$i" done