Bug 28944

Summary: bash "time" no redirect
Product: [Retired] Red Hat Linux Reporter: George R. Gonzalez <grg1>
Component: bashAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: dr
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-23 15:34:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description George R. Gonzalez 2001-02-22 22:33:40 UTC
cant redirect the output from "time"

time ls  2>here

Output goes to console, not "here"

Comment 1 Bernhard Rosenkraenzer 2001-02-25 16:48:35 UTC
You can by definition not redirect the output of shell builtins.
To achieve what you wanted to do, use /usr/bin/time ls 2>whatever