The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 456     Votes:  0     ✅ Solution
Tags: command-line   bash   sound   scripts  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

URL: https://askubuntu.com/q/1413743
Title: How to kill a program after it's executed from a script?
ID: /2022/06/12/How-to-kill-a-program-after-it_s-executed-from-a-script_
Created: June 12, 2022
Upload: April 8, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


To kill all instances of ffplay, replace:

kill ${PID}

with:

pkill ffplay

This will make your life much simpler.

⇧ Ubuntu fan noise while watching videos 4k resolution for Ubuntu 18.04  ⇩