On Thu, 7 Feb 2036, Corisen wrote: > hi, how can i display a program output to screen AND also to file. > > if i use "./myprog 1>>file.txt 2>>file.txt", no output will be shown on > screen. i would like to see the output during runtime and at the same time > capture any output & error to a file. > > thanks. whoops, i just realized you wanted BOTH stdout and stderr from the program to be captured and go to the screen: $ myprog 2>&1 | tee file.txt rday _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
- Re: login problem Gerd Zemella
- output to screen & file Corisen
- Re: output to screen & fil... rpjday
- Re: output to screen &... Corisen
- Re: output to screen ... Hugh E Cruickshank
- Re: output to screen ... Uday Pai
- Help with Backup Mail... Wes Owen
- Help with 10/100M... Tomás García Ferrari
- Re: Help with Bac... Eric Sisler
- Re: Help with Bac... SoloCDM
- Re: output to screen & fil... rpjday
- Re: output to screen &... Corisen
- login problem Avi Aumick
- login problem xinz
- login problem Isaac Liu
- Re: login problem Jeremy Hogan
- Re: login problem ABrady
- login problem shyam
- RE: login problem santosh kumar
- Re: login problem LAST FIRST
- RE: login problem Tapang, Roderick Eugenio (GXS)