What is Nostr?
nixCraft 🐧 /
npub1esm…xjlr
2023-07-14 05:52:48

nixCraft 🐧 on Nostr: Here is how to kill a process or user by tty/pts name in Linux. First, list the tty: ...

Here is how to kill a process or user by tty/pts name in Linux. First, list the tty:
```
w
tty
who
```
Then kill by its number and SIGKILL (non-graceful) or SIGTERM (graceful) as the root:
```
pkill -KILL -t tty1
pkill -TERM -t pts0
```
For more info see https://www.cyberciti.biz/faq/kill-process-user-by-tty-name-in-linux/

Author Public Key
npub1esmepyc8y2l6w03glx325zpjwp5ggvzuhqrg0csfylrevrdejxzsnexjlr