not sure what i need to do when hosts file doesnt get written in ??
im using this command:
then the content of the file should appear - right?
well - i get blank zilch nada!!
then i simply paste the content that is supposed to be in that file and hit ctrl+X then Y and then Enter - well it says that the file was saved then i repeat the above command to see the file again and comes back blank again -
is there any way to make that file writable - or maybe upload the file manually via root ftp??
actually i already tried and the filezilla says:
Error: error while writing: failure
Error: File transfer failed
and erases the file on server with the blank file - so its not actually rejecting the manual upload but it overwrites with the blank file of the same name - gush!
alright then... what should i do to put the file on the server's root ftp so it preserves the content - or what should be typed into ssh command to finally save the revision of the etc/hosts file?
please accept my appology in advance if this is something you have never heard but i am in fact going thru this ordeal as we speak here: any access via http is down - i can only access my server via sftp or root-ssh -
im using this command:
Code:
nano /etc/hosts
well - i get blank zilch nada!!
then i simply paste the content that is supposed to be in that file and hit ctrl+X then Y and then Enter - well it says that the file was saved then i repeat the above command to see the file again and comes back blank again -
is there any way to make that file writable - or maybe upload the file manually via root ftp??
actually i already tried and the filezilla says:
Error: error while writing: failure
Error: File transfer failed
and erases the file on server with the blank file - so its not actually rejecting the manual upload but it overwrites with the blank file of the same name - gush!
alright then... what should i do to put the file on the server's root ftp so it preserves the content - or what should be typed into ssh command to finally save the revision of the etc/hosts file?
please accept my appology in advance if this is something you have never heard but i am in fact going thru this ordeal as we speak here: any access via http is down - i can only access my server via sftp or root-ssh -