Linux Today: Linux News On Internet Time.

More on LinuxToday

How to open a file in vim in read-only mode on Linux/Unix

Jan 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?

Complete Story

Related Stories: