I want to know how much time it takes to run something in nohup.I know this works:$ time sleep 2real    0m2.001suser    0m0.000ssys     0m0.001sBut why it doesn't work with nohup?$ nohup time sleep 2 &[1] 29456$ nohup: ignoring input and appending output to 'nohup.out'nohup: failed to run command 'time': No such file or directory[1]+  Exit 127                nohup time sleep 2
bash time with nohup
bash;time
It doesn't work because time is a shell keyword. There are external time binaries, but you don't appear to have one installed. This will likely work:nohup bash -c 'time sleep 2'