I've been deleting all the files and directories in a specific directory on a Linux CentOS 7 and I came across the following situation: the danger of changing the command
sudo rm -fR ./*
by
sudo rm -fR /*
(Forgetting the endpoint before the toolbar.)
What a concern! I did not even want to run this command to see what happens. XD
Is there any protection to prevent the command above and also other dangerous commands from running accidentally?
Type display this message before executing the command: "DANGER: Are you sure you want to run this command?"