Jorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 years agoVery clever...lemmy.mlimagemessage-square349fedilinkarrow-up12.27Karrow-down120file-text
arrow-up12.25Karrow-down1imageVery clever...lemmy.mlJorgelino@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 years agomessage-square349fedilinkfile-text
minus-squarehomura1650@lemmy.worldlinkfedilinkarrow-up21·edit-22 years 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