I downloaded pcap source compiled it and got a lib ending in libsomething.so.1.21.1. I tried to find how to install a lib online and in my impatience did the following
sudo .install-sh /lib libsomething.1.21.1
The output was the following
install-sh :250:chmod not found install-sh : 1: rm :not found
After this I could not launch any program or shell command at the prompt in the terminal(I could use cd but not ls or others). Now when I try to boot into Ubuntu I get a kernel panic after the following line:
run-init:/sbin/init: No such file or directory.
.install-sh is in the pcap folder, source was taken directly from the website.
I don't have a clue as to what the script did, I would be very thankful if somebody could give me any pointers on how to proceed.