Outputting command to a text file

Radek Kozlowski radek at raadradd.com
Thu Nov 11 19:14:53 GMT 2004


On Thu, Nov 11, 2004 at 01:08:18PM -0600, CHris Rich wrote:
> I want to use the du command to check on the sizes of files in a
> directory, but i want the output to be put into a text file so I can
> look at it later.

You can do `command > filename` or use script(1).

-Radek


More information about the freebsd-questions mailing list