Redirect command output to a file:
ls *.png > image_files
Append command output to an existing file:
ls *.jpg >> image_files
Redirect command output to the input of another command: cat *.log | grep error
這篇文章有幫助嗎? 0 Users Found This Useful (0 Votes)