Dumb thing I did in the teminal:
~/workspace$ rm -rf workspace
no such file or directory
~/workspace$ rm -rf cd ~
half typed the command again thinking i mistyped the name then realised im in that folder and instictively typed the command to get to home