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
标签:node,127.0,nl,192.168,ecs,localhost 来源: https://www.cnblogs.com/yzgblogs/p/15306745.html