In UNIX/LINUX, is there an easy way to track the time a command takes?
Yes, use time , such as
time
time ls
Consult man time for more options. Link.
man time