I was trying to remove a directory on my server when I unintentionally ran the following command (notice the space) as root
rm -rf db /*
can someone tell me, in what ways this must have impacted my server, since I can see I can no longer access some of the sites on my server.
I am getting a 500 error on these sites.
Any help is appreciated.
ls
first to see what would be deleted with the appropriate wildcard(s). When you're satisfied they are the files to be deleted, replacels
with your most evilrm -rf
command.rm *
.