Append "| egrep 'looking at|KERNEL==|SUBSYSTEM=='" to your command.
On Sat, 2013-03-16 at 13:41 -0400, Robert P. J. Day wrote:
> currently writing a tutorial on udev and i'm drawing a blank on
> something that should be simple -- what variation of udevadm can i use
> to print just the KERNEL and S
>
> From: Robert P. J. Day
>To: Ottawa Linux Users Group
>Sent: Saturday, March 16, 2013 1:41:17 PM
>Subject: [OCLUG-Tech] how to use udevadm to print *just* KERNEL and SUBSYSTEM?
>
>
> currently writing a tutorial on udev and i'm
currently writing a tutorial on udev and i'm drawing a blank on
something that should be simple -- what variation of udevadm can i use
to print just the KERNEL and SUBSYSTEM values corresponding to a
device?
here's the tutorial:
http://www.crashcourse.ca/wiki/index.php/Udev
it's still *very