$ time ls > output.txt 2>&1

註:一定要加"2>&1"才會將時間寫入output.txt喔!

arrow
arrow
    全站熱搜

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