如何以“较少"(GNU)显示行号 [英] How to display line numbers in 'less' (GNU)
本文介绍了如何以“较少"(GNU)显示行号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
什么是使更少在左栏中显示行号的命令?
What is the command to make less display line numbers in the left column?
推荐答案
来自手册:
-N或--LINE-NUMBERS 使行号显示在每个行的开头 显示中的一行.
-N or --LINE-NUMBERS Causes a line number to be displayed at the beginning of each line in the display.
您还可以通过键入-N
来切换行号而不会减少退出次数.
You can also toggle line numbers without quitting less by typing -N
.
可以通过这种方式切换less的任何命令行选项.
It is possible to toggle any of less's command line options in this way.
这篇关于如何以“较少"(GNU)显示行号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文