Outputting command to a text file

Admin admin at swedehost.com
Thu Nov 11 19:15:40 GMT 2004


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.
>
>I did some search on google, and found nothing that applied.
>Searched other places (lists and things) and couldn't find what i was
>looking for, perhaps i was using the wrong search terms.
>
>Any help will be greatly appreciated
>
>Thanks
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>  
>
Hi.
Maybe
du -h > filename
is what you are looking for ?

Regards
Hasse Hansson.


More information about the freebsd-questions mailing list