---

Add or Convert Timestamps to Any Output

Whether it’s logging for shell script or a simple command like ping, traceroute, etc., timestamps can come in handy. Here’s how to use the ts command to add or convert them.