On Sunday 20 July 2003 11:08, Itay 'z9u2K' Duvdevani wrote:
> # cat /proc/net/dev | grep eth | cut -b 3-6
> eth0
> eth1
>
> I think that does to job. Question is, how do I know their strings?
This will not list devices that are present on the system but do not have
their modules loaded because the distro has sucky hardware detection (see
Shachar's note about new devices lspci knows nothing about), while lspci
will.
--
Oded
::..
"MacDonald has the gift on compressing the largest amount of words into the
smallest amount of thoughts."
-- Winston Churchill
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]