Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Shell Scripting (http://www.domainnameforum.org/forumdisplay.php?f=130)
-   -   Storing output of "time" command to a variable (http://www.domainnameforum.org/showthread.php?t=138808)

webdev 01-23-2011 04:29 AM

Storing output of "time" command to a variable
 
Hi all, I am new to Linux/shell scripting having moderate knowledge. In my script, I need the execution time of command (say 'ls') in mili seconds level. For this, I would like to use 'time' command. The problem is that, how to save the output of time command in a variable (for other...


All times are GMT -4. The time now is 08:01 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.