i am new to ubuntu and recently tried changing my hostname and have probably messed up something,and have trouble fixing it.
Whenever i give command like get sdu sudo apt-get install g++ (some command using sudo)
sudo: unable to resolve host Cricketpunk
shows up,after 4 seconds of wait.After reading few questions,i tried changing something in /etc/hostname,but it says access denied when i try opening that file
i Cannot boot into recovery mode due to soome bios fault
I need help on how to achieve sudo rights using live flash drive containing ubuntu.
Any help would be much appreciated. Have a good day :)