Jorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agoVery clever...lemmy.mlimagemessage-square179fedilinkarrow-up11.14Karrow-down19file-text
arrow-up11.13Karrow-down1imageVery clever...lemmy.mlJorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square179fedilinkfile-text
minus-squarehomura1650@lemmy.worldlinkfedilinkarrow-up9·edit-21 year agoTricky question, but I think I have a solution: :!readlink /proc/$PPID/fd/* | grep “$(dirname %)/.$(basename %).sw” | xargs -I{} rm “{}” ; kill -9 $PPID
Tricky question, but I think I have a solution:
Technically correct