Vi Display Line Numbers January 9, 2019 If you work with the vi or vim editors in Linux, sometimes it’s nice to be able to see the line numbers display on the editor. Turn it on. vim filename :set numbervim filename :set number Turn it off. vim filename :set nonumbervim filename :set nonumber