How to open a file in vim in read-only mode on Linux/UnixJan 27, 2017, 19:00 (2 Talkback[s])
(Other stories by Anonymous)
I need of opening necessary files in reading (read-only) mode to avoid accidental editing of files such as /etc/resolv.conf or a large config or programming file on a production server. How do I open files in read-only mode in vim text editor on Linux or Unix-like system?
0 Talkback[s] (click to add your comment)