Kerb@discuss.tchncs.de to Programmer Humor@programming.dev · 1 year agoways to close vimdiscuss.tchncs.deimagemessage-square5fedilinkarrow-up15arrow-down10
arrow-up15arrow-down1imageways to close vimdiscuss.tchncs.deKerb@discuss.tchncs.de to Programmer Humor@programming.dev · 1 year agomessage-square5fedilink
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”