I frequently (all day every day) have a minicom terminal tab open and execute commands on an embedded Linux system from my Ubuntu laptop. Sometimes I have to execute the
reboot command, and sometimes, I am ashamed to admit, I accidentally execute
reboot in the wrong tab and my laptop does exactly what it was designed to do without asking any questions...
I am using Ubuntu 16.04 LTS and tried installing molly-guard but that has had no effect.
99 times out of 100 I don't mess up but my laptop takes a good 10 minutes to reboot and I execute
reboot frequently enough for this to be an annoyance.
Is there some bit of black magic, I can add to my custom terminal window setup bash script, that will make
reboot map to something else (just for that bash session preferably)?