On Sun, Oct 9, 2011 at 10:02 AM, Dale <rdalek1...@gmail.com> wrote: > Michael Mol wrote: >> >> Came up with something possibly a little handier. This command should tell >> you what driver is associated with every device on the system. find >> /sys/devices -name driver -print0|xargs -0 ls -l|cut -d' ' -f10-|sed -e >> 's/\.\.\///g' Output could probably still be a bit better cleaned up, but it >> should help. > > Hmmmmmm: > > root@fireball / # find /sys/devices -name driver -print0|xargs -0 ls -l|cut > -d' '-f10-|sed -e 's/\.\.\///g' > cut: the delimiter must be a single character > Try `cut --help' for more information. > xargs: ls: terminated by signal 13 > root@fireball / #
Your -f got stuck attached to the -d argument. Wordwrap reconstruction fail. :-| Try this for an alternate representation: find /sys/devices -name driver \ -print0|xargs -0 ls -l|cut -d' ' \ -f10-|sed -e 's/\.\.\///g' -- :wq