我尝试了几个命令,但都不起作用,请参阅命令:
khalilullah@khalilullah-W65-67SZ:~$ sudo ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:164 errors:0 dropped:0 overruns:0 frame:0
TX packets:164 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:12080 (12.0 KB) TX bytes:12080 (12.0 KB)
khalilullah@khalilullah-W65-67SZ:~$ nmcli device show enp3s0|grep -i hw
Error: Device 'enp3s0' not found.
khalilullah@khalilullah-W65-67SZ:~$ nmcli device show enp3s0 | grep -i hw
Error: Device 'enp3s0' not found.
khalilullah@khalilullah-W65-67SZ:~$ nmcli device show wlp4s0 | grep -i hw
Error: Device 'wlp4s0' …Run Code Online (Sandbox Code Playgroud)