tail (command-line)

Display the last part of a log (standard output and/or standard error) of specified program.

<console.py> tail [-h] [-l {stdout,stderr}] [-f] [-n N] program
program

Specify the program in scope of the command.

-l {stdout,stderr}
--log-stream {stdout,stderr}

Specify which standard stream to use. Default is stderr.

-f
--follow

Causes tail command to not stop when end of stream is reached, but rather to wait for additional data to be appended to the input.

-n N
--lines N

Output the last N lines, instead of the last 40.

Previous topic

status (command-line)

Next topic

console (command-line)

This Page