/usr/share/whereami/actions/kill-netscape is in whereami 0.3.34-0.3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/bin/bash
#echo "SIGHUP"
kill -SIGHUP `ps ax | grep "netscape.*a[t]or" | sed -e ": x;s/ / /;t x" | cut --field=2 --delimiter=' '`
sleep 1
#echo "SIGQUIT"
kill -SIGQUIT `ps ax | grep "netscape.*a[t]or" | sed -e ": x;s/ / /;t x" | cut --field=2 --delimiter=' '`
#sleep 1
#echo "SIGTERM"
#kill -SIGTERM `ps ax | grep "netscape.*a[t]or" | sed -e ": x;s/ / /;t x" | cut --field=2 --delimiter=' '`
#sleep 1
#echo "SIGABRT"
#kill -SIGABRT `ps ax | grep "netscape.*a[t]or" | sed -e ": x;s/ / /;t x" | cut --field=2 --delimiter=' '`
#sleep 1
#echo "SIGKILL"
#kill -SIGKILL `ps ax | grep "netscape.*a[t]or" | sed -e ": x;s/ / /;t x" | cut --field=2 --delimiter=' '`
|