临时重定向

5年以前  |  阅读数:507 次  |  编程语言:Shell 
#!/bin/bash
# testing STDERR messages

echo "This is an error " >&2
echo "This is another error"
echo "This is also an error" >&2

Copyright© 2013-2020

All Rights Reserved 京ICP备2023019179号-8