"Yinghe Chen" <(E-Mail Removed)> wrote:
>Hi gurus,
>
>I got a question, suppose I don't have ifconfig command in my shell, is
>there a way that i can check my ip address?
>
>I don't know somehow my ifconfig just doesn't work, it is VM RHEL.
Set the PATH variable for you shell. That is a common
problem for shell scripts executed by cron, for example.
In this case ifconfig is in /usr/sbin, and that is not
likely to be in any user's PATH that is automatically
generated.
--
Floyd L. Davidson <http://www.apaflo.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska)
(E-Mail Removed)