Running Ubuntu 17.04, I was installing a software from non-repository distribution, I was supposed to move the software bin -folder contents to /usr/bin (which was already iffy advice)
It's one of those days, so what I did instead:
mv /bin/* /usr/bin
So I screwed up and I accidentally moved all the files in bin to /usr/bin and /bin was empty. Since I take that /bin is system critical, for quick remedy, I copied /usr/bin contents to /bin.
Now my /bin and /usr/bin contents identical and both contain the files originally in /bin and /usr/bin separated.
- Is my Ubuntu in a broken state now? (Did not try to reboot the computer yet, right now everything seems to still work)
- Is there a way to know which files have been moved/copied to /usr/bin most recently, so I could just manually take care of the situation? 2.1 Are there usually overlapping files in /bin and /usr/bin
- Is there other ways to undo what I did?
I don't have Timeshift installed so restoring backups is not an option, but there's nothing critical on the computer currently, so I could just admit to screwup reinstall the whole linux partition.