Since Linux distributions are extremely powerful, it can also allow the user to type a terminal command that breaks / uninstalls some important part of the OS. Is it possible to run the system in some "temporary mode", test a terminal command or anything else, and if something breaks, one can just exit this mode and return to the "real" OS?
I know I could do one of the following:
- Install a second Ubuntu for testing on the disk (imo this is too much space considering I only need to try some terminal commands).
- Install Ubuntu in a VM (a VM is too limited and has the same problem as the first point)
- Some type of container?
Any other options? I am just curious since I have reinstalled the system so many times now because of something breaking.