[BL] logging Linux system messages

baslinux at lists.ibiblio.org baslinux at lists.ibiblio.org
Sun Jun 15 13:20:18 EDT 2008

Hi Sindi,

--- baslinux at lists.ibiblio.org wrote:

> You can see what is in the packages with
> tar -ztvf packagename.tgz

Thanks! That's exactly what i wanted.

> I forget how to save the output of that
> command to a file.

In any *nix operating system (including all
versions of Linux), you can use the redirect
symbol ">" to send the contents of any command
that would normally print its out put to the
screen, into a file instead. Thus:

tar -ztvf packagename.tgz > packagename.contents

("packagename.contents" is an example name --
you can call the output file anything you like.)




More information about the BasLinux mailing list