rlwrap

File Write

This adds timestamps to the output file. This relies on the external `echo` command.

rlwrap -l /path/to/output-file echo DATA

Shell

rlwrap /bin/sh

SUID override:

rlwrap /bin/sh -p