log file

A file a program or scheduled job appends messages to, so you can see later what happened.

In more detail

Logs let you find out what a program did while nobody was watching, such as a scheduled job at night. Append to them rather than overwrite them, and rotate or trim them so they do not fill the disk.

Example

/home/ada/bin/report.sh >> /home/ada/log/report.log 2>&1

Related terms

Taught in

References