HackerTrans
热门最新趋势评论往期问答秀出招聘

threePointFive

no profile record

评论

threePointFive
·去年·讨论
Moreutils has a great command `chronic` which is a wrapper command like `time` or `sudo`, ie. you just run `chronic <command>`. It'll supress stdout and stderr until the command exits at which point it will print only if the exit code was non-zero.