How to pipe kldstat output to a file in console

Clay Daniels Jr. clay.daniels.jr at gmail.com
Thu Oct 24 02:00:23 UTC 2019


Bingo!

create /root/kldstat_file with vi
#kldstat -v >  /root/kldstat_file
It's all there!

Thanks so much,
Clay

On Wed, Oct 23, 2019 at 8:10 PM Kurt Hackenberg <kh at panix.com> wrote:

> On 2019-10-23 20:54, Clay Daniels Jr. wrote:
>
> > I can run kldstat in the console, but I need to save the output. I can't
> > get to graphical xorg, just the console at command line. From the file, I
> > can send that to a usb thumb drive and email the file, no problem, but
> > getting it from the screen to a file is my problem. Surely there's a way?
>
> Shell redirect? For example:
>
> kldstat >/thumbdrive/foo
>
> There's also:
>
> kldstat | Mail clay.daniels.jr at gmail.com
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list