Sunday, April 28, 2024
42
rated 0 times [  42] [ 0]  / answers: 1 / hits: 227013  / 1 Year ago, mon, march 6, 2023, 2:52:24

For some reason when I enter ipconfig in terminal, it just returns this:



No command 'ipconfig' found, did you mean:
Command 'tpconfig' from package 'tpconfig' (universe)
Command 'iwconfig' from package 'wireless-tools' (main)
Command 'ifconfig' from package 'net-tools' (main)
ipconfig: command not found


Not quite sure what the issue is here or how to approach this


More From » command-line

 Answers
2

The Ubuntu/Linux equivalent of ipconfig in Windows is ifconfig.



Try typing sudo ifconfig.



The result will look something like this:




eth0 Link encap:Ethernet HWaddr 00:0c:29:94:37:b6
inet addr:192.168.1.231 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe94:37b6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:519374 errors:0 dropped:0 overruns:0 frame:0
TX packets:110611 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:332864737 (332.8 MB) TX bytes:11113451 (11.1 MB)

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:16436 Metric:1
RX packets:33651 errors:0 dropped:0 overruns:0 frame:0
TX packets:33651 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2951078 (2.9 MB) TX bytes:2951078 (2.9 MB)

[#38367] Wednesday, March 8, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
antoccasiona

Total Points: 430
Total Questions: 127
Total Answers: 131

Location: Netherlands
Member since Sat, Jun 26, 2021
3 Years ago
;