PDA

View Full Version : Delay between two commands in a terminal



tech291083
13th May 2007, 01:46 PM
Hi,

How can I know the time or delay between typing two commands in a terminal? Thanks...

lmo
13th May 2007, 02:10 PM
date
command_1
date
command_2
date

date && command_1 && date && command_2 && date

tech291083
13th May 2007, 09:41 PM
date
command_1
date
command_2
date

date && command_1 && date && command_2 && date

Hi,

Thanks this how I tried, but looks like there has been a mistake made. Can you please provide me with the right syntax. Cheers...


bash: 7/5/2007: No such file or directory
[root@localhost ~]# 05/05/2007 yum
bash: 05/05/2007: No such file or directory
[root@localhost ~]#
[root@localhost ~]#