If you accidentally trashed your libraries or symbolic links in /lib, more than likely commands which depended on those libraries will no longer run (see Section 4.7.2). The easiest solution is to boot your boot/root floppy, mount your root filesystem, and fix the libraries in /mnt/lib.