I'm new to Linux and did something stupid. I'm using Kali and after apt-get update and apt-get upgrade, I encountered some issues. The desktop items were missing and windows no longer had a "bar", along with some other things. While trying to fix that, I messed it up way more..
I found that it was caused by a libGL error where it failed to load the swrast driver.
Someone on this site suggested renaming /usr/lib/x86_64-linux-gnu to /usr/lib/x86_64-linux-gnu.bak which I did with the mv command.
It was stupid to do so without thinking about what that could impact. Now I can no longer run most commands (I will get an error: command_not_found_handler:2: /usr/lib/command-not-found: bad interpreter: /usr/bin/python3: no such file or directory) I'm trying to move the folder back with mv /usr/lib/x86_64-linux-gnu.bak /usr/lib/x86_64-linux-gnu but it results in the same error. So does using BusyBox.
I've tried using ../sbin/sln x_86-64-linux-gnu.bak x_86-64-linux-gnu but it says there is no such file or directory.
Any ideas on what I can try or have I already lost all my data?