Sometimes I want to view a file without editing, but want to use some features of vi (or vim). Of course I can just use
$ vi file.txt
but then I can accidentally change the file.
There are two parameters, which can help.
Continue reading “vi: Read Only Command Line Parameters”
Advertisements