number VIM Command
How to use number Command in Linux VIM editor?
Explanation
number command is used to show the line numbers in the file.
Usage:
:set number
Example:
- Open the file test.txt
$ vim test.txt
- To show the line numbers
:set number
- The file with line numbers is as follows