I have been playing around with the
~/.profile file trying to add something permanently to my
$PATH variable and it seems i have done some damage.
I can't log into ubuntu now. When I enter my password the screen goes black for 1 second and then it goes back to the login screen. If I press Ctrl+Alt+F3 I can log in with the command line. My question is how can I edit
~/.profile from the command line so I can log in again ?