📜  回显到文件 bash - Shell-Bash 代码示例

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

代码示例1
echo "I am \"Finding\" difficult to write this to file" > file.txt
echo "I can \"write\" without double quotes" >> file.txt

echo "This is a test to write $PATH in my file" >> file.txt
echo 'This is a test to write '"$PATH"' in my file' >> file.txt

tee -a file.txt <