Kerb@discuss.tchncs.de to Programmer Humor@programming.dev · 1 year agoways to close vimdiscuss.tchncs.deimagemessage-square17fedilinkarrow-up112arrow-down12
arrow-up110arrow-down1imageways to close vimdiscuss.tchncs.deKerb@discuss.tchncs.de to Programmer Humor@programming.dev · 1 year agomessage-square17fedilink
minus-squareEufalconimorph@discuss.tchncs.delinkfedilinkarrow-up0·1 year agocat /dev/zero > "/proc/$(pidof vim)/mem" is my favorite dumb way. Clear its memory, wait for the segfault.
minus-squarevrkr@programming.devlinkfedilinkarrow-up1·edit-21 year ago dumb way. Get fancy, add progress bar: pv < /dev/zero > “/proc/$(pidof vim)/mem”
cat /dev/zero > "/proc/$(pidof vim)/mem"
is my favorite dumb way. Clear its memory, wait for the segfault.Get fancy, add progress bar: pv < /dev/zero > “/proc/$(pidof vim)/mem”