This post describes how to terminate a process in Linux using terminal.
Step 01: type 'ps x' to find the process ID
You will see the set of process and related process IDs.
Step 02: find the process you need to terminate from the description.Then find the process ID of it. For example I need to terminate currently playing MP3. I found the relevant process ID is '4186'.
Step 03: type 'kill' <space> process ID to terminate the process.In this example I type
'kill 4186'.
Now the process is terminated. :)