归零者245号

关注

echo输出到stderr

归零者245号

关注

阅读 39

2023-11-06

echo "Your error message here" >&2

This is a normal echo (which goes to stdout), however the >&2 (which is shorthand for 1>&2), means 'mix the stdout to the stderr'. 1 is stdout, and 2 is stderr here.



相关推荐

自由的美人鱼

java 异常输出到日志

自由的美人鱼 80 0 0

骨灰级搬砖工

docker logs 输出到文件

骨灰级搬砖工 23 0 0

SPEIKE

java BufferedImage输出到OSS

SPEIKE 25 0 0

千行

Xcode输出到文件失效

千行 32 0 0

sunflower821

php echo 输出 锘?... 乱码问题

sunflower821 144 0 0

彪悍的鼹鼠

echo输出数组的值 php

彪悍的鼹鼠 77 0 0

夏侯居坤叶叔尘

ThinkPHP6.0日志没有输出到文件而是直接输出到了输出流

夏侯居坤叶叔尘 153 0 0

爪哇驿站

sqlplus中输出到文件中

爪哇驿站 131 0 0

惠特曼

echo输出多行内容到文件

惠特曼 65 0 0

兽怪海北

jmeter保存接口输出到txt

兽怪海北 58 0 0

精彩评论(0)

0 0 举报