HOME > Linux > Ipconfig In Linux - Does This Command Exist?

IPCONFIG in Linux - does this command exist?

The IPCONFIG command is used to set up and check the Internet connection on your computer. However, this only applies to computers running Windows as their operating system. In this article, we will explain whether the use of IPCONFIG also works in Linux.

Is it possible to use IPCONFIG in Linux?

To check the internet connection and repair it if necessary, you need the "ipconfig" command on a PC with Windows as operating system. If you use a computer with Linux as operating system, the check of the Internet is also possible by command via the terminal. This is for Linux computers, however, not "ipconfig", but "ifconfig".
  1. To check the Internet connection under Linux, please first open the terminal by pressing the key combination of "Ctrl" + "Alt" + "T" on the keyboard.
  2. In the terminal, then enter the command "ifconfig-a". You will then get an overview of all available interfaces and their configuration data.
  3. If you have multiple interfaces, you can get detailed information by entering the command ifconfig "name of the network adapter".

IPCONFIG: How to set a new IP in the Linux terminal

Once you have executed the command ifconfig in the terminal, you can read out important data of your Internet connection, such as the IP address and the Mac address. In addition, you can also use the ifconfig command to set a new IP address. To do this, enter the ifconfig command in the terminal again, followed by the abbreviation enp3s0 and the new IP address you want to use.

By Stronski

Calculate battery charging time: This calculation makes it work :: Is open source software really more secure?
USEFUL LINKS