📜  cat> 和 cat>> 之间的区别 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:43.580000             🧑  作者: Mango

代码示例1
cat  => displays the contents of the file
cat => takes input from STDIN and puts it back to the STDOUT
cat >  => Take in put from STDIN and put contents in , This will overwrite the contents.
cat >>  => Take in put from STDIN and put contents in , This will append the contents.