ts
Add timestamps to every line from
stdin. More information: https://manned.org/ts.
- Add a timestamp to the beginning of each line:
| ts
- Add timestamps with microsecond precision:
| ts ""
- Add [i]ncremental timestamps with microsecond precision, starting from zero:
| ts -i ""
- Convert existing timestamps in a text file (e.g. a log file) into [r]elative format:
cat | ts -r
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
