linux 在文件中显示行号

使用-n选项,您可以在输出终端中看到文件song.txt的行号。
.

0

linux命令:cat -n song.txt song.txt -n cat cat -n song.txtrootopen.com
linux命令:cat -n song.txt song.txt -n cat cat -n song.txtrootopen.com
无知心 2018-08-20 22:34:44
输出
1  "Heal The World"
2  There's A Place In
3  Your Heart
4  And I Know That It Is Love
5  And This Place Could
6  Be Much
7  Brighter Than Tomorrow
8  And If You Really Try
9  You'll Find There's No Need
10  To Cry
11  In This Place You'll Feel
12  There's No Hurt Or Sorrow

评论

相关推荐
共收录0条命令行
这里是记录和分享命令行的地方, 所有命令行都可以进行评论、提交替代方案.

热门文章