prevent modprobe output

Alain Mouette alainm at pobox.com
Thu Oct 6 15:02:08 UTC 2011


This should work:
   2>&1  >/dev/null

First you redirect error(2) do console(1)...

Alain

Em 10-01-2011 13:23, David Henderson escreveu:
> Is there a way to prevent modprobe from displaying information related
> to a driver being loaded? I'm stumped and have tried the following:
>
> modprobe -q e1000e
> modprobe -q e1000e >/dev/null
> modprobe -q e1000e &>/dev/null
>
> Nothing I seem to do makes it go away. I'd really only like to make
> stdout quiet, while leaving the ability for any errors to continue to be
> shown.
>
> Thanks,
> Dave
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
>


More information about the busybox mailing list