I've changed my .profile file and added to the end:
Export PATH = "bin/somepathToMatLab"
This resulted after a restart, that when I login with the GUI it loops right back to the login page. I then logged in with CTRL-ALT-F1 and landed in my home directory but was unable to use "vi" to open or "cp" to copy anything because of the change to the top mentioned path.
Please help me to reset the .profile .