🎴 Flashcard Mode
Java Programming and Unix Fundamentals
Card1 / 20
Mastered0
Review0
QuestionClick to flip
How can we give an pass phrase (like password) to a file ,to restrict its access ?
AnswerClick to flip back
A
vim +X file
💡 Explanation:
The vim +X filename command enables encryption mode, prompting for a passphrase when the file is first saved. The -X option disables X11 connection, and -p opens in tab/split mode, not encryption.