home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / shell / 5113 < prev    next >
Encoding:
Text File  |  1992-12-21  |  675 b   |  23 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!gumby!destroyer!cs.ubc.ca!fornax!xiaobing
  3. From: xiaobing@cs.sfu.ca (Xiaobing Chen)
  4. Subject: timing piped commands
  5. Message-ID: <1992Dec19.010201.2100@cs.sfu.ca>
  6. Organization: CSS, Simon Fraser University, Burnaby, B.C., Canada
  7. Date: Sat, 19 Dec 1992 01:02:01 GMT
  8. Lines: 13
  9.  
  10. Anybody tell me how to 'time' piped commands like:
  11.     % time 'ls -lR | fgrep root'    # failed of course
  12.  
  13. ( This comes from my trying to find which way is faster in looking
  14. for some directory entries using the above format and 'find',
  15. like 'find . -owner root -print'
  16. If you know this answer, please also tell me.
  17. )
  18.  
  19. Thank you in advance.
  20.  
  21. xiaobing@cs.sfu.ca
  22.  
  23.