[Tips] shell 输入输出重定向

输出重定向:

# 常用1: 将标准输出和输入导入文件,特殊情况文件为/dev/null
command > 文件名 2>&1

  

猜你喜欢

转载自www.cnblogs.com/immortalBlog/p/12923175.html