Forrest logo
back to the ${command} tool

ts:tldr:98372

ts: Add a timestamp to the beginning of each line.
$ ${command} | ts
try on your machine

This command is composed of two parts: ${command} and ts.

  1. ${command}: It represents a placeholder for an actual command or a command variable. It is used to execute a specific command or series of commands. You need to replace ${command} with the desired command or variable before running it.

  2. | ts: This is a pipe symbol (|) followed by the ts command. In Unix-like systems, the pipe symbol is used to redirect the output of one command to another. The ts command is a utility that adds a timestamp to each line of its input. It helps in tracking the timing of command output.

When you combine these two parts, the command ${command} | ts executes ${command} and passes its output to the ts command. The output of ${command} will be displayed with timestamps added by the ts command.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the ${command} tool