I am trying to access and edit my cloud front address on my .htacess file i tried several times with my mac terminal it was not working now i am trying on my Ubuntu OS thinking that it was a MAC book Issue however even though i can delete the old cloud-front address i cannot save the new-one error message below.
[ Error writing .htaccess: Permission denied ]
^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell
How can i replace the file or give myself permission to edit. Any help will be much appreciated