Blog Pages

Stop running command in linux

1. find the PID of the command:
ps -aux | grep -i <PART_OF_THE_COMMAND>
  • the second column is the PID

2. kill the command:
kill -TERM <PID>

No comments:

Post a Comment