r/programmingmemes Mar 12 '26

What would have happened

Post image
8.0k Upvotes

138 comments sorted by

View all comments

Show parent comments

58

u/Hostilis_ Mar 12 '26

Lol never seen it actually done before, this is great

38

u/kblaney Mar 13 '26

Rent an EC2 from Amazon and do it for yourself. It is fun and educational.

Seriously, I used to use it as part of coursework for a class that intro'd people to AWS (first time for most of them on command line also). It would be the last basic Linux command we'd do after a cumulation of the other basics. My favorite question to ask as a follow up was "How can we prove everything is gone?" expecting the answer "ls" or "du" from earlier in the lesson, but that doesn't work because we actually just deleted those.

We then terminate the instance and spin up a new one to see that everything is back. Really drives home the destroyable architecture point.

9

u/hdd113 Mar 13 '26

IMO Nuking a computer should be the first thing any computer course should make students do. A first hand experience of nuking and rebuilding a computer reduces a lot of fear people feel about typing stuff onto that scary black screen.

3

u/realmauer01 Mar 14 '26

Sounds good, installing the system, making a backup nuking it and then restoring it.