View Single Post
Posts: 19 | Thanked: 6 times | Joined on Apr 2015 @ Lincoln
#101
I have an big request to the advanced users of the MeeGo OS as I were like the monkey with AK47 .Please help me revert some stupid things which I made through the terminal as ROOT .Please

I Used this command line with terminal
echo "" >> /etc/hosts
echo "213.128.137.20 connectivity-test.ext.nokia.com" >> /etc/hosts
exit
however I made error in this command and wrote host not as should be properly hosts now I have in catalogue /etc/host as well as /etc/hosts .Please help me to delete or remove this one which is not correct (/etc/host )with all text content inside .Please

SECOND PART OF MY ISSUE IS
during using this line command
echo "" >> /etc/hosts
echo "213.128.137.20 connectivity-test.ext.nokia.com" >> /etc/hosts
exit
a multiple times as I thought it will not affect this file and will only overwrite this one which I created at first time however I were wrong and now this file at /etc/hosts has multiple text as fallow
127.0.0.1 RM696 localhost
213.128.137.20 connectivity - test.ext.nokia.com
213.128.137.20 connectivity - test.ext.nokia.com exit
213.128.137.20 connectivity - test.ext.nokia.com
213.128.137.20 connectivity - test.ext.nokia.com
even worst is that I made the third line with exit , which should I use to exit from ROOT not for edit and overwrite file - I know I'm an idiot.

Please , I appreciate any help in such mess . Thank you .