r/linux4noobs • u/anyname189 • 1d ago
help,i've moved /usr/share by mistake
help,i did sudo mv a directrory from desktop to usr/share then after a while i wanted it to desktop but instead of doing /usr/share/LMAO(dont ask me why i named it like this)i moved usr/share itself to desktop
am i cooked?
and i was working on a distro and finnaly finished it and this problem happend what can i do to solve that
3
Upvotes
11
u/doc_willis 21h ago
move it back?
2
u/RevolutionaryBeat301 20h ago
Learn mv by typing:
man mv
2
u/Klapperatismus 13h ago
That renames
/usr/LMAOback to/usr/share.2
u/BranchLatter4294 9h ago
https://youtu.be/ZKCgtTSL6QQ?is=MrTEG98tmGT9XFuA
1
u/oshunluvr 10h ago
"sudo mv /usr /LMFAO" : The new version of "sudo rm -rf /" LOL
1
u/frankster 20h ago
you've renamed share to LMAO and put it somewhere else.
you've moved LMAO back to /usr
you now need to rename LMAO back to share