ts Command Examples

Add timestamps to every line from stdin. More information: https://joeyh.name/code/moreutils/.

{{command}} | ts

{{command}} | ts "{{%b %d %H:%M:%.S}}"

{{command}} | ts -i "{{%H:%M:%.S}}"

cat {{path/to/file}} | ts -r