home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!stanford.edu!ames!nsisrv!news2.gsfc.nasa.gov!fish
- From: fish@daacdev1.stx.com
- Subject: Re: How to redirect outputs from the command "time" into a file?
- Message-ID: <fish.720983465@news2.gsfc.nasa.gov>
- Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
- Nntp-Posting-Host: daacdev1.stx.com
- Organization: Goddard Space Flight Center
- References: <1992Nov5.024837.6571@cs.tulane.edu>
- Date: Thu, 5 Nov 1992 17:11:05 GMT
- Lines: 15
-
- mt0lamg@convex1.tcs.tulane.edu (Louis X. Lee) writes:
-
- >My first question is about saving outputs from the timing command
- >"time" into a file. I tried "time a.out > a.time", but it did not
- >work. How to capture the outputs into a file?
- time puts its output on stderr (not noted in any man page i've
- ever seen either) so:
- time a.out 2>a.time
-
- fish
- --
- John R. Vanderpool INTERNET: fish@daacdev1.stx.com
- NASA/GSFC VOX: 301-513-1683
- Hughes/STX Corporation FAX: 301-513-1608
- "somehow seems strange and a little bit funny, to wander thirsty in the rain" pr
-