Error kill pid not working

Hi
I have this error:

-bash: kill: pid: arguments must be process or job IDs

Hi @tiho_bg,

welcome to our community.

That is because you called kill pid, but the pid is a variable, which means the proccess ID.

The kill program needs a number, so instead of kill pid, it has to be something like kill 122, assuming 122 is the Process ID.

Please let us know in case you have further questions.