linux-tutorial/codes/shell/示例脚本/输入和输出/临时重定向.sh

8 lines
131 B
Bash
Raw Normal View History

2019-05-10 11:17:57 +08:00
#!/bin/bash
2019-10-10 08:56:31 +08:00
2019-05-10 11:17:57 +08:00
# testing STDERR messages
echo "This is an error " >&2
echo "This is another error"
echo "This is also an error" >&2