mv

File Write

echo DATA >/path/to/temp-file
mv /path/to/temp-file /path/to/output-file

Privilege Escalation

This can be used to move and then read or write files from a restricted file systems or with elevated privileges.

mv /path/to/input-file /path/to/output-file