Archive for year 2008
Welcome to Techpulp Technologies
Jul 26th
ยป Techpulp Technologies is specialized in the area of IP networking, network security and offers services and products related to networking. Please mail us contact@techpulp.com for more details about our services and products.
Find how long a command takes to complete
Jul 25th
Some times it is required to know how long a command is taking to execute, especially in case of huge scripts. The command “time” can be used to determine the time taken by a command or a script. The following example shows how it can be used.
[liz@techpulp ~]# time sleep 3 real 0m3.016s user 0m0.000s sys 0m0.008s [liz@techpulp ~]#
In the above example we attempted to determine time taken by the command “sleep 3” using time command. After the command finishes, time prints the information on standard error. This information contains “real” which is actual time taken by the command from the invocation More >


Recent Comments