rdt file-name
With a arguments, rdt redirects stdout to file-name. Without arguments, rdt restores stdout to the terminal (file descriptor 1).