This website is released under |
Redirection using file descriptorsSyntaxcommand >&n Send the output from command m>&n command >&- Close the standard input. command <&n Take the input for command m<&n command <&- Close the standard output. command <&n- command >&n- Example# redirect the standard output to the standard error echo "Error: see logfile." 1>&2 2020-07-14 |