#!/bin/bash # Kill all the scripts: echo "Killing the script." pkill -9 -f "$(pwd)/background/finstitutions/trading/to_kafka.py" # All done: echo "Done!" exit 0