Waffelson@lemmy.world to linuxmemes@lemmy.world · 1 year ago:wq!lemmy.worldimagemessage-square116fedilinkarrow-up1223arrow-down174
arrow-up1149arrow-down1image:wq!lemmy.worldWaffelson@lemmy.world to linuxmemes@lemmy.world · 1 year agomessage-square116fedilink
minus-squareDanny M@lemmy.escapebigtech.infolinkfedilinkarrow-up34arrow-down1·edit-21 year agoI prefer the extremely intuitive: [C-R]=system("grep -P "PPid:\t(\d+)" /proc/$$/status | cut -f2 | xargs kill -9") or i:!grep -P "PPid:\t(\d+)" /proc/$$/status | cut -f2 | xargs kill -9[esc]Y:@"[cr] It just rolls off the fingers, doesn’t it? Edit: damn it lemmy didn’t like my meme because it assumes that characters between angle brackets are html tags :( you ruined it lemmy EDIT 2: rewrote it, just assume that square brackets are buttons not characters
minus-squareKogasa@programming.devlinkfedilinkarrow-up2·1 year agoThis is how you get buffer files everywhere
I prefer the extremely intuitive:
[C-R]=system("grep -P "PPid:\t(\d+)" /proc/$$/status | cut -f2 | xargs kill -9")
or
i:!grep -P "PPid:\t(\d+)" /proc/$$/status | cut -f2 | xargs kill -9[esc]Y:@"[cr]
It just rolls off the fingers, doesn’t it?
Edit: damn it lemmy didn’t like my meme because it assumes that characters between angle brackets are html tags :( you ruined it lemmy
EDIT 2: rewrote it, just assume that square brackets are buttons not characters
This is how you get buffer files everywhere