Alternatively you can simply create directory with
Than recreate all the files, If you need templates of the shell files you can check them on "/etc/skel/".
If you can't log into your system, or can not start your system, than use live (cd/usb) or use recovery cd.
Hope you wont have issues, just follow the onscreen instructions. It is not that hard.