The tee command reads from stdin and writes to both stdout and one or more files.
stdin
stdout
df -h | tee disk_usage.txt