How to pipe kldstat output to a file in console

Kurt Hackenberg kh at
Thu Oct 24 01:10:25 UTC 2019

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

More information about the freebsd-questions mailing list