How do I show line numbers in Vim by default on Linux?
[continue reading…]
Vim
My Fedora Linux workstation shipped with vi commands. The default vi provides no syntax-highlighting for opened files, by default on Fedora Linux 32/33. It works like the original vi editor. How do I install an enhanced version of vim that provides syntax-highlighting on Fedora Linux 29/30/32/33?
[continue reading…]
[continue reading…]
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?
[continue reading…]
[continue reading…]
I am a new Linux user. I started to use vim or vi text editor. How do I find all occurrence of the word called ‘eth0’ and replace it with ‘br0’ on Linux operating systems?
[continue reading…]
[continue reading…]
How do I see colored man pages with standard Unix or Linux less command without installing most paging program for Unix / Linux like operating system?
[continue reading…]
[continue reading…]
Is it possible to save existing file directly when using vi or vim text editor? How do I run “save as” command in vi/vim running on a Linux or Unix-like systems?
[continue reading…]
[continue reading…]