By mistake I did sudo mv /usr/bin /usr/local/bin
and forgot to put the filename. Now my terminal is not usable. Is there a way to recover from this? I'm from a company laptop and I cannot reformat.
Also, the disk is encripted
By mistake I did sudo mv /usr/bin /usr/local/bin
and forgot to put the filename. Now my terminal is not usable. Is there a way to recover from this? I'm from a company laptop and I cannot reformat.
Also, the disk is encripted
Ctrl+Alt
andF3
and you should get a terminal ... Or reboot to recovery mode ... Or boot from a live USB and mount your root filesystem to move it back. – Raffa Jan 15 '24 at 13:48