Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

echo >&2 vs logger

This comparison card contrasts echo >&2 and logger. echo >&2 is described as to the terminal or file. logger is described as to syslog / journald. The card pairs echo >&2 with interactive tools, and logger with cron and services.

echo >&2 vs logger: To the terminal or file.; To syslog / journald.
echo >&2 vs logger · Download PNG
Read card text

What this card says

Logging

echo >&2

To the terminal or file.

logger

To syslog / journald.

Key points

Simple.

Tagged, searchable.

Example

echo msg >&2

Use when

Interactive tools.

Cron and services.

See all AWS revision cards