0

how to set password for VIM file

how to set password for the newly created file using VIM editor?

brayden
asked May 10, 2017
1 Answer
0

Create a file with -x option to protect or encrypt the contents.

For example:

# vim -x test.txt

It will ask for the new password. Once its set no one can access (View/Edit) the file without password.

View More
jagannatharumugam
answered May 10, 2017
Your Answer
||||
x
 
100:0

Related News in how to set password for VIM file

Related News in how to set password for VIM file