Total Pageviews

Wednesday, 3 October 2018

nl命令

nl命令也是显示文件内容的命令,和cat命令有点相似,不过又有区别.
nl命令能显示文件内容的行号,而cat命令不行。


root@umh:~# cat /etc/issue.net
Debian GNU/Linux 8
root@umh:~# nl /etc/issue.net
     1 Debian GNU/Linux 8
root@umh:~# 

No comments:

Post a Comment