Linux ipconfig command
NickName:Sambhav jain Ask DateTime:2010-10-01T23:41:13

Linux ipconfig command

I am a new user of Linux and have freshly installed RHEL5 operating system on 1 of my system. I have chosen DHCP during installation.

Now after installation when I tried to run ipconfig command on the shell prompt I got this message

bash: iconfig: command not found

I am a root user.

I do not understand why am I getting this error. May u please tell me what can be the possible problem and how can I solve it.

Is there any other command to check my current ip .

Copyright Notice:Content Author:「Sambhav jain」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/3840744/linux-ipconfig-command

Answers
hvgotcodes 2010-10-01T15:43:55

try\n\nifconfig\n\n\ninstead...",


More about “Linux ipconfig command” related questions

Linux ipconfig command

I am a new user of Linux and have freshly installed RHEL5 operating system on 1 of my system. I have chosen DHCP during installation. Now after installation when I tried to run ipconfig command on...

Show Detail

Get just an IP address only from `ipconfig` using native windows command

Let say this is an output of Windows ipconfig command. c:\>ipconfig Windows IP Configuration Wireless LAN adapter Wireless Network Connection: Connection-specific DNS Suffix . : IPv4

Show Detail

If else batch command with ipconfig

I'm having trouble with using an if else statement in a batch command. I'm running Windows XP. I wrote a simple batch file to output my ip address which works fine. However, I would like to include...

Show Detail

How to get just the bare IP 4 address from terminal in linux using the new ip command vs ipconfig?

ipconfig does not exist anymore as a command available in Ubuntu 20.04 and later I assume. The new command is just ip. When I run the ip address command I get the entire list of all devices and ip

Show Detail

Program that automatically does ipconfig/release and then ipconfig/renew on a timer

As the title says, I want to create a program that automatically does ipconfig/release and then ipconfig/renew, every few minutes. I usually do this in the command prompt, but it would be much more

Show Detail

Pull value for HostName for IPconfig command

I have a text file for IPCONFIG command, and am interested to obtain value for HOST NAME i.e. S4333AAB45 utilizing REGEX. Windows IP Configuration Host Name . . . . . . . . . . . . : S4333AAB...

Show Detail

Ipconfig /all using C programming leads to incomplete command line error

A programming beginner here so I am working on a simple program that uses the user's input to name a text file and then the program stores the ipconfig /all information in that text file. I receive...

Show Detail

Remote ipconfig /release issue with powershell

I have a powershell script that does an ipconfig /release and /flushdns then a shutdown command for my VMs. I do this before creating a snapshot. The script works but it doesn't work for multiple

Show Detail

Run ipconfig command with php

I use this code to understand some information of visitors (clients). It has been running on my virtual server on Xampp, but I can`t run on my main server (host). I see just a blank page. $info = ...

Show Detail

Can not decode the output of ipconfig

I want to assign output of ipconfig command to string but can not decode it. When I try this: import subprocess out = subprocess.check_output("ipconfig",shell = True) out = out.decode('utf-8') pr...

Show Detail