1
vote
0answers
26 views

How to recover deleted directories “/home/pi” [duplicate]

I just deleted my /home/pi directory while I was trying to remove the directory under /home/pi which was /home/pi/nmap. So, is there anyway to recover /home/pi directory as I have other important ...
3
votes
2answers
3k views

undo rm -r, restore data

I was playing around with zip and accidentally deleted my /home/ folder (i wanted to delete home/ which got created by unzipping an archive). I used rm -r /home/instead of rm -r home/ as root... Is ...