How to recover from /tmp deletion?


I accidentally deleted the /tmp folder.
Since this event, I have no Linux console and therefor can’t recreate it and recover.
Resetting the C9 workspace didn’t work.

Any suggestions how to recover?


open new immediate window, use the dropdown on bottom right to change mode to bash
and run sudo mkdir -p /tmp && sudo chmod 777 /tmp

Stuck on "error connecting to /tmp/tmux-1000/cloud92.22 (Permission denied)
Accidentally deleted /tmp directory