在輸出檔案後加上2>&1

如同: tar zxvf testfile.tar.gz >> output.log 2>&1

arrow
arrow
    全站熱搜

    dreamtails 發表在 痞客邦 留言(0) 人氣()