how to ebnable line number in vi editor in linux code example Example 1: vi line number set number set nonumber Example 2: vim show line numbers :set number