在shell 脚本中经常见到   >/dev/null 2>&1 , 具体意义是什么呢

>/dev/null 将标准输出定定向到 /dev/null 

1 是标准输出, 2是错误输出

2>&1 是将错误输出和标准输出同样处理