LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Terminal (https://www.linuxquestions.org/questions/linux-newbie-8/terminal-4175441629/)

Shadow246810 12-15-2012 11:40 PM

Terminal
 
When I type: 'ifconfig', I don't understand a word my Terminal says, and I'm just starting to learn about all this stuff. I want to know my personal IP Adress, but It's difficult to understand It. Can anyone help 'translate'?

btmiller 12-15-2012 11:46 PM

The ifconfig command will output information about all of the network interfaces on the system. Usually, the primary Ethernet interface is called "eth0". Look at the second line of the output for eth0, there should be a field labeled "inet" or "addr" (the exact text seems to vary with the version of ifconfig). The following string is the IP address.

If this does not help, please post the ifconfig output here and someone can help you interpret it.

shivaa 12-15-2012 11:46 PM

You can refer it's man page, as it contains detailed info. Or check here
Code:

man ifconfig

Shadow246810 12-15-2012 11:56 PM

Terminal/Linux
 
Well, I don't see anything like that, but It all doesn't make since. I tried typing It all on Google of what It means, but Google Is to stupid to know, and I don't want someone to find my IP Adress and hack my laptop.... So I don't know what to do. I've had Linux all my life, but learning It Is difficult. Any one have some easy Linux things I can read to help? (Oh, I do see It now, under 'lo', but still, what does that mean?!)

btmiller 12-16-2012 12:11 AM

The lo interface is the local loopback interface, which will almost always have an IP of 127.0.0.1. This loopback interface does not connect to an external network; rather, it is used for packets whose origin and destination is both the local system itself.
Maybe this page will help with some of the confusion?

chrism01 12-16-2012 05:51 PM

As above, post the output of ifconfig and we can explain it to you.
It would help if you told us what distro+version you have
Code:

cat /etc/*release*


All times are GMT -5. The time now is 06:36 PM.