home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!gumby!destroyer!cs.ubc.ca!fornax!xiaobing
- From: xiaobing@cs.sfu.ca (Xiaobing Chen)
- Subject: timing piped commands
- Message-ID: <1992Dec19.010201.2100@cs.sfu.ca>
- Organization: CSS, Simon Fraser University, Burnaby, B.C., Canada
- Date: Sat, 19 Dec 1992 01:02:01 GMT
- Lines: 13
-
- Anybody tell me how to 'time' piped commands like:
- % time 'ls -lR | fgrep root' # failed of course
-
- ( This comes from my trying to find which way is faster in looking
- for some directory entries using the above format and 'find',
- like 'find . -owner root -print'
- If you know this answer, please also tell me.
- )
-
- Thank you in advance.
-
- xiaobing@cs.sfu.ca
-
-