nl

[root@ecs-5611 ~]# cat /etc/hosts | nl
     1  ::1     localhost       localhost.localdomain   localhost6      localhost6.localdomain6
     2  127.0.0.1       localhost       localhost.localdomain   localhost4      localhost4.localdomain4
     3  127.0.0.1       ecs-5613        ecs-5613
       
     4  192.168.0.82 node-1
     5  192.168.0.228 node-2
     6  192.168.0.135 node-3
上一篇:多项式(polynomial)


下一篇:Linux之nl命令