Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2004 20:14:45 +0100
From:      Radek Kozlowski <radek@raadradd.com>
To:        CHris Rich <freebsdnews@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Outputting command to a text file
Message-ID:  <20041111191445.GD21823@werd>
In-Reply-To: <8292450b04111111083132f845@mail.gmail.com>
References:  <8292450b04111111083132f845@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041111191445.GD21823>