> 重定向输出,覆盖原有内容; >> 重定向输出,又追加功能;示例: cat /etc/passwd > a.txt 将输出定向到a.txt中 cat /etc/passwd >> a.txt 输出并且追加 ifconfig > ifconfig.txt 来源:CSDN作者:学亮编程手记链接:https://blog.csdn.net/a772304419/article/details/104077787 标签 linux系统 cat 重定向 etc