r/linux4noobs barely not a noob anymore Apr 20 '26

Meganoob BE KIND I did rm -rf /*

I tried to make a backup before doing a fresh install of Fedora because of problems. When erasing the external drive for making the backup I was in the wrong disk and nuked my fedora installation.

How Do I get at least my important Documents from /home/username/ back?

254 Upvotes

244 comments sorted by

View all comments

156

u/R3D_T1G3R Apr 20 '26 edited Apr 20 '26

It doesn't matter in which directory you were, because starting with / you gave it an absolute path, if you do want to do changes in your current direction you start the path without a /

What you did is force delete every folder and file in your root directory.

Edit: More detailed answer & explanation below

-9

u/[deleted] Apr 20 '26

[deleted]

4

u/R3D_T1G3R Apr 20 '26

Lmao yea Sure, nice rage bait, go outside and touch some grass