本文翻译自:Going to a specific line number using Less in Unix
I have a file that has around million lines. 我有一个大约有一百万行的文件。 I need to go to line number 320123 to check the data. 我需要转到第320123行来检查数据。 How do I do that? 我怎么做?
#1楼
参考:https://stackoom.com/question/a1mK/使用Unix中的Less来转到特定的行号
#2楼
For editing this is possible in nano
via +n
from command line, eg, 对于编辑,这可以在命令行的nano
via +n
进行,例如,
nano +16 file.txt
To open file.txt
to line 16. 将