Skip to content

Instantly share code, notes, and snippets.

@adamdry
Created December 3, 2020 08:56
Show Gist options
  • Save adamdry/d842649f24efbf912b530397d941e103 to your computer and use it in GitHub Desktop.
Save adamdry/d842649f24efbf912b530397d941e103 to your computer and use it in GitHub Desktop.
Kill all postman processes
#!/bin/bash
OUTPUT=$(killall Postman 2>&1)
while [ "$OUTPUT" != "Postman: no process found" ]; do
OUTPUT=$(killall Postman 2>&1)
done
OUTPUT=$(killall _Postman 2>&1)
while [ "$OUTPUT" != "_Postman: no process found" ]; do
OUTPUT=$(killall _Postman 2>&1)
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment