📜  如何覆盖文件 linux cli - Shell-Bash 代码示例

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

代码示例1
# The >> redirection operator will append lines to the end of
# the specified file, where-as the single greater than > will
# empty and overwrite the file.

echo "text" > 'Users/Name/Desktop/TheAccount.txt'