ways to close vim

Kerb@discuss.tchncs.de to Programmer Humor@programming.dev – 206 points –
44

You are viewing a single comment

cat /dev/zero > "/proc/$(pidof vim)/mem" is my favorite dumb way. Clear its memory, wait for the segfault.

...you can write to program memory? Idk how exactly but that feels like a security risk.

dumb way.

Get fancy, add progress bar: pv < /dev/zero > "/proc/$(pidof vim)/mem"