I know that in Linux, to redirect output from the screen to a file, I can ... redirecting standard output and standard error: &>word and >&word Of ...
stackoverflow.com