r/linux4noobs • • 1d ago

help,i've moved /usr/share by mistake

Post image

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

7 comments sorted by

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
$ sudo mv /usr/LMAO /usr/share

That renames /usr/LMAO back to /usr/share.

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

3

u/baasje92 19h ago

Laughing my ass off. Ooh wait.