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