Friday, January 23, 2015

Password protecting file in vim text editor


We can password protect a file using vim. For enabling password protection to a file in vim, type:
vim +X filename
Or, before quitting in vim use :X vim command to encrypt your file and vim will prompt for a password.



No comments:

Post a Comment