This executable can read data from local files.
The textual file is dumped on the current TTY (neither to stdout nor to stderr).
stdout
stderr
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
sudo
If there are environment variables involved, they must be passed via sudo VAR=value ... or exported then sudo -E ....
sudo VAR=value ...
sudo -E ...
wall --nobanner /path/to/input-file
The content is corrupted or otherwise altered by the process, thus it might not be suitable for handling arbitrary binary data.
Source | History