LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   file editing (https://www.linuxquestions.org/questions/linux-software-2/file-editing-651376/)

ambavaram 06-24-2008 05:10 PM

file editing
 
I have created a file with vi -x (file name) this is encrypted file when i again open this file it ask me to enter a password before editing it.Can i remove this password but i don't want to delete a file how to do this.

Thanks

matthewg42 06-24-2008 05:43 PM

To save the file in plaintext (will overwrite the original encrypted file):
  1. Open the file, entering the password
  2. use the command:
    Code:

    :set key=
  3. save the file with command:
    Code:

    :w


All times are GMT -5. The time now is 09:52 AM.