It will try but unfortunately in the process of deleting your os the shell process of deleting will be affected and stop there.
However it can be savely assumed that you won't be able to boot into it again and that your data is gone.
Isn't the shell process loaded into RAM? In fact the entire session is, wouldn't it be fine until you try to access a file somehow?
Deleting acesses the file, also background Services will refresh their ram at some point sth will break everything before you can delete it. Well maybe with an nvme and fast cpu you might be fast enough
Theoretically yes, but pretty much every modern Linux installation has some guards built in to the rm command to prevent it from deleting everything. Adding the flag --no-preserve-root removes this and gives you the classic DFE experience. (even without the flag though rm -rf / will still majorly fuck up your system.)
this deletes your OS right
It will try but unfortunately in the process of deleting your os the shell process of deleting will be affected and stop there.
However it can be savely assumed that you won't be able to boot into it again and that your data is gone.
Isn't the shell process loaded into RAM? In fact the entire session is, wouldn't it be fine until you try to access a file somehow?
Deleting acesses the file, also background Services will refresh their ram at some point sth will break everything before you can delete it. Well maybe with an nvme and fast cpu you might be fast enough
Theoretically yes, but pretty much every modern Linux installation has some guards built in to the rm command to prevent it from deleting everything. Adding the flag --no-preserve-root removes this and gives you the classic DFE experience. (even without the flag though rm -rf / will still majorly fuck up your system.)
Deletes literally everything it can. So yeah, the os would be affected