Friday, July 3, 2020

Top 10 Dangerous Operations or Commands To Be Executed Carefully In Linux

I’ve come up with these 10 categories of tasks/commands/operations which would render a system un-usable or may cause service disruption or network outage when executed without proper precaution or understanding of the impact of the command and how it works. Most of these commands would also have a forceful execution option which doesn’t even raise a prompt before execution(when run by root or any privileged sudo user). This is in addition to the notorious recursive & forceful file removal command (rm -rf /). I’ve not considered the standard shutdown/reboot commands since these are known and understood by the command itself. Some of the commands would certainly require a root privilege, but the point here is that even as a root user, such commands should never be executed without understanding the details.