我只是使用以下几行来在Windows中获取用户名,效果很好
Windows:
wmic.exe /node:"192.168.128.210" ComputerSystem Get username
输出:
username AMAZ/arrchanaMohan
我只希望在Linux框中有一个等效命令,该命令将提供如上所述的username详细信息。
我刚刚登录linux框并ping上面的IP地址,该IP地址返回了响应。
ping 192.168.128.210
PING 192.168.128.210 (192.168.128.210) 44(34) bytes of data.
64 bytes from 192.168.128.210: icmp_seq=1 ttl=145 time=258 ms
64 bytes from 192.168.128.210: icmp_seq=2 ttl=145 time=258 ms
64 bytes from 192.168.128.210: icmp_seq=3 ttl=145 time=257 ms
64 bytes from 192.168.128.210: icmp_seq=4 ttl=145 time=257 ms
有人可以帮助我实现这一目标吗?