I tryied to set the JAVA_HOME environmet variable in the ~/.profile file
and I made a mistake
JAVA_HOME="/usr/lib/jvm/jdk1.6.0_37"
PATH=$JAVA_HOME:PATH
the error is in the PATH referencing. I put PATH rather than $PATH.
this prevents me from login.
I tried to edit the file using the recovery mode but it says that the file system is read only. so any suggestions how to deal with this issue.
thanks
mount DEVICE -t FSTYPE -o remount -rw MOUNT_POINT(whith DEVICE = e.g./dev/sdb2and FSTYPE = e.g.ext4). Does its job on my Debian Wheezy (when forgetting thet FSTYPEwould give amount: / not mounted or bad option). – tuk0z May 06 '16 at 17:59