LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 4266|回复: 8

linux下怎么查自己的IP地址?

[复制链接]
发表于 2004-7-29 19:48:28 | 显示全部楼层 |阅读模式
RT
发表于 2004-7-29 19:52:34 | 显示全部楼层
ifconfig |grep "inet" |cut -c 0-36|sed -e 's/[a-zA-Z: ]//g'
 楼主| 发表于 2004-7-29 20:19:20 | 显示全部楼层
thanks!
发表于 2004-7-29 22:29:41 | 显示全部楼层
发表于 2004-7-29 22:30:18 | 显示全部楼层
ifconfig ethx
发表于 2004-7-30 18:42:53 | 显示全部楼层
Try getip in Debian.
发表于 2004-7-30 23:01:49 | 显示全部楼层
#ifconfig

#/sbin/adsl-status
发表于 2004-7-31 10:12:45 | 显示全部楼层
bash: ifconfig: command not found
- -!
发表于 2004-7-31 10:33:00 | 显示全部楼层
/sbin/ifconfig
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表