Re: logging items to the console using centos 5.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Apr 14, 2008 at 9:34 AM, Jerry Geis <geisj@xxxxxxxxxxxxxxx> wrote:
>  How do I get the output of my make to show on the console and also in my
> logfile?

Use "script". Type "script logfile.txt", it will open a new shell.
After that, everything you type and the output of commands will go to
the terminal and to the logfile. After that, just use "exit" or Ctrl-D
to exit the shell, it will stop logging. For more details, "man
script". It's part of the util-linux rpm, so you'll certainly have it
installed already.

HTH,
Filipe
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux