Apparently in the learning command line course I could

I cd …/ to root directory, and I can rm -R / --no-preserve-root and bye bye the system…
Uhh, is there a way to restore and how are the terminals being ran!?!?!?! Is it like a mini droplet every time someone wants to learn the command line?