OPERATING SYSTEMS FOR COMPUTERS
COMMAND LINE INTERFACE
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
ifconfig |grep 192.168
|
|
Ifconfig |Grep 192.168
|
|
ifconfig |find 192.168
|
|
Ifconfig |Find 192.168
|
Detailed explanation-1: -You can use the ifconfig command to assign an address to a network interface and to configure or display the current network interface configuration information. The ifconfig command must be used at system startup to define the network address of each interface present on a system.
Detailed explanation-2: -Typically, ifconfig can only be used under a superuser account in your terminal. A list of all your network interfaces will appear. Following the heading of the interface whose IP address you’re searching for, you will see a “inet addr:” section containing your IP address.
Detailed explanation-3: -The first line in the ifconfig command output includes the interface name and status flags currently associated with the interface. Also, the status line includes the maximum transmission unit (MTU) that is configured for the particular interface and an index number.