>
>>
2>&1
# 将 Nginx 错误日志重定向到特定文件 ls /nonexistent 2> error.log # 丢弃所有输出(黑洞) ls /usr/local/nginx > /dev/null 2>&1
至此,本章节的学习就到此结束了,如有疑惑,可对接技术客服进行相关咨询。