Posts tagged with “pid”

Wait for a unix process to finish

I sometimes find myself in the situation where I have a command running in my terminal, and want to run another command only after the first has finished. I’m pretty forgetful, so I don’t want to come back later and start the new command.

Read more →

Finding the process ID (PID) of a command in unix

Getting the PID of a running command is something I do daily, particularly by grepping on the name, e.g.:

Read more →