Article View: cn.comp.os.linux
Article #14004Re: about IP address
From: songyi
Date: Tue, 20 Nov 2001 17:59
Date: Tue, 20 Nov 2001 17:59
23 lines
1903 bytes
1903 bytes
lfree wrote:
> ifconfig
>
> --
> ��ʹ��www.google.com����www.google.com/linux��������Ҫ��������ĵ�
>
>
>>лл.
>>�ҿ�����last|grep����õ��ҵ�¼ʱ��IP��ַ,�����ⲻ������Ҫ��.
>>���ڼ�ʹ��Linux,�����¼���ٰκ�����,���������������ֻ�ܵõ�127.0.0.1.
>>������Ҫ��֪�������ISP������ҵ�IP��ַ
>>��û��ʲô����������windows�µ�ipconfig����֮��Ŀ��ð�?
>>
>>
>
>
>
>
thank you i get it :
netstat -nat |awk '/^[^1]/ {print $4}'|awk -F: '/^[^01][0-9]/ {print
$1}'|sort -u
Technical Details
Message-ID:
<3BFA99E6.3080208@linux.org>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.cn99.com!not-for-mailReferences:
<3BF9469D.4030907@linux.org> <9tc9cq$1v94$1@news.cz.js.cn> <3BFA5102.20404@linux.org> <9tdfh2$ase$1@mail.cn99.com>Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB X-Google-Thread: 10b277,8b68192fdc33c7f2 X-Google-Attributes: gid10b277,public X-Google-ArrivalTime: 2001-11-20 06:49:32 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!194.25.134.62!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.cn99.com!not-for-mail From: songyi <songyi@linux.org> Newsgroups: cn.comp.os.linux Subject: Re: about IP address Date: Tue, 20 Nov 2001 22:59:02 +0500 Organization: Bentium Ltd. (CN99) Lines: 25 Message-ID: <3BFA99E6.3080208@linux.org> References: <3BF9469D.4030907@linux.org> <9tc9cq$1v94$1@news.cz.js.cn> <3BFA5102.20404@linux.org> <9tdfh2$ase$1@mail.cn99.com> NNTP-Posting-Host: 210.15.74.153 Mime-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit X-Trace: mail.cn99.com 1006267770 21942 210.15.74.153 (20 Nov 2001 14:49:30 GMT) X-Complaints-To: usenet@news.cn99.com NNTP-Posting-Date: Tue, 20 Nov 2001 14:49:30 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010913 X-Accept-Language: en-us