StackOverflow 文件 Bash 教程 重定向 將多個命令重定向到同一檔案 將多個命令重定向到同一檔案 Created: November-22, 2018 { echo "contents of home directory" ls ~ } > output.txt 將錯誤訊息列印到 stderr使用命名管道