聊聊重定向
Listen now
Description
cat >test 《end hi cat this is delimiter end cat test hi cat this is delimiter 注意,分割符前面的是两个小于号,但是喜马拉雅输入两个小于号就显示出错,用书名号代替! ls test 12315 >/dev/null 2>&1 输出为空,即标准输出与标准错误输出都不输出 ls test 12315 2>&1 >/dev/null ls: 无法访问'12315': 没有那个文件或目录 标准输出为空,输出了标准错误输出
More Episodes
Published 01/29/20
Published 01/29/20