How to run all the commands in /bin and /usr/bin if the /lib has been moved accidentally
Scenario:
The /lib has been moved to /lib.old
If this has been done, all the commands like mv, ls and all that are in /bin and /usr/bin will not work since the /lib is needed
To resolve this and move back the /lib.old to /lib perform the following.
export LD_LIBRARY_PATH=/lib.old:/lib.old/x86_64-linux-gnu
/lib.old/x86_64-linux-gnu/ld-linux-x86-64.so.2 /bin/mv /lib.old /lib