Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redirecting o/p of time command to a file.

Status
Not open for further replies.

bharix

Programmer
Aug 6, 2002
23
DE
Hi Guys,

How do I redirect the output of time command to a file?
I use ksh.
e.g.

time ls >> myfile

This command does not put the output of my time command in myfile.

Could you help solving this?
 
Try this:
2>myfile time ls

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top