Yep. I just ran a check as user with no problems.

Tim Holmes wrote:
> 
> And contrary to popular belief, you don't HAVE to be root to run ifconfig.
> 
> The only problem is it's not in the usual users's PATH.  So you'll have to
> either edit your PATH, or just type out the entire path location.
> 
> [timh@r2d2 timh]$ /sbin/ifconfig
> eth0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
>           inet addr:xx.xxx.xxx.xxx  Bcast:xx.xxx.xxx.xxx  Mask:xxx.xxx.xxx.xxx
>           UP BROADCAST NOTRAILERS RUNNING  MTU:1500  Metric:1
>           RX packets:199344 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:59512 errors:0 dropped:0 overruns:0 carrier:1
>           collisions:3 txqueuelen:100
>           RX bytes:47204234 (45.0 Mb)  TX bytes:7346415 (7.0 Mb)
>           Interrupt:3 Base address:0x9400
> 
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:82920 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:82920 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:6202238 (5.9 Mb)  TX bytes:6202238 (5.9 Mb)
> 
> As you can see that was not done as the root user! :0)  You may want to create
> an alias to it or something.  Like showip or something like that.  Just make
> the needed edit to your $HOME/.aliases file.
> tdh
> 
> --
> T. Holmes
> -----------------
> UNIXTECHS.org
> [EMAIL PROTECTED]
> -----------------
> "Real Men Us Vi!"
> 
> Uptime:
>   --------------------------------------------------------------------
>  9:37AM  up 2 days, 23:30, 3 users, load averages: 0.00, 0.01, 0.00
>   --------------------------------------------------------------------
> 
> 
> | On Thursday 21 June 2001 01:56 pm, Terry wrote:
> | > I'm curious ..
> | >
> | > How can I determine what my IP address is from my local machine?  Is
> | > there a command similar to M$'s "IPCONFIG" command?
> |
> |   Yes,
> |
> |    try 'netstat', or 'ifconfig' (as root)
> |
> |    ifconfig is probly what you want
> |
> | --
> | Tom Brinkman      [EMAIL PROTECTED]     Galveston Bay
> |
>   ------------------------------------------------------------------

Reply via email to