Help: SQL Server

Sharing my knowlege about SQL Server Troubleshooting Skills

  • Blog Stats

    • 2,050,828 hits
  • Select GETDATE()

    August 2016
    M T W T F S S
    1234567
    891011121314
    15161718192021
    22232425262728
    293031  

Linux Learning : How to get IP Address using command line? What is equivalent of IPCONFIG in Linux?

Posted by blakhani on August 23, 2016


Recently, I created a Linux Ubuntu VM in my Hyper-V environment. To connect, I was using PuTTY tool and was getting “Access Denied” error. On the other hand, I was able to connect using Hyper-V console. Here is what I mean

I knew that I am definitely trying to connect to some other Ubuntu machine in my corporate network. All I need to figure out was the IP Address of my VM and connect using IP Address instead of the name. I took help from in-house expert Pradeep (b | t) and he showed me the magical command.

In Windows, we are used to use IPCONFIG to know the IP address of a Windows machine. In the same way, IFCONFIG is the command in Linux. Since I was able to connect using Hyper-V console, I ran the magical command.

It showed the IP Address (10.171.71.87) and then I came back to PuTTy and provided IP to connect and Voilà, I was able to get it!

This might be something known to many (like Pradeep) but still unknown to few (like me) so sharing via blog.

Cheers,
Balmukund

Advertisement

3 Responses to “Linux Learning : How to get IP Address using command line? What is equivalent of IPCONFIG in Linux?”

  1. Sir,
    The other way to the find the ip address is to execute the command “ip a” on putty/ubuntu terminal. It also display the IP address configured on the machine.

  2. BhavyaArora said

    Where are you sir. 1 year passed and no blog.

    Please write about discrepancy between versions reported by different tools in SQL server.

    E.g. In discovery report showing Sp3, while @@version showing SP4.

    Regards

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

 
%d bloggers like this: