Say I have a file test.sh that executes some command (ping in this case) in the background:
test.sh
ping
f