A hacker does for love what others would not do for money.
Let’s first not talk about why this can happen, but deleting /lib , /usr/lib , or some other essential runtime files happens quite a lot (as you can see: here , here , here , and here ). In this post, I will only discuss what happens when you delete /lib on Linux and how to recover from that.
The easy solution for everything is to replace the missing files, but this can be difficult if /lib is deleted because we won’t have ld-linux , which is needed to run any dynamic executable. When you deleted /lib , all non-static executable (such as ls , cat , etc , will output):