# To redirect stderr to stdout:
#要将stderr重定向到stdout:
some-command 2>&1

# To redirect stderr to a file
#将stderr重定向到文件
some-command 2> errors.txt