Time event when using nohup

How can I time this?  I want to know how long it takes.

nohup do_something >/dev/null &
LVL 16
Who is Participating?
omarfaridConnect With a Mentor Commented:
you may send output to file:

date >> /path/to/mylog
nohup time something &  >> /path/to/mylog
date >> /path/to/mylog
TintinConnect With a Mentor Commented:
nohup time something &
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.