Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Not quite the same, but apt commands like apt-get require user interaction to confirm what you are about to do, unless you explicitly add a "-y" / "--yes" to the command.


apt will sometimes prompt you to confirm really dangerous options too:

       sudo apt-get purge login
       ..
       WARNING: The following essential packages will be removed.
       This should NOT be done unless you know exactly what you are doing!
         login
       0 upgraded, 0 newly installed, 1 to remove and 303 not upgraded.
       After this operation, 1,212 kB disk space will be freed.
       You are about to do something potentially harmful.
       To continue type in the phrase 'Yes, do as I say!'
        ?]




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: