【发布时间】:2017-03-01 05:15:46
【问题描述】:
我在 u-boot 中运行我的脚本文件。我想创建一个文件并保存我的内容。我尝试了以下,
cat > info.txt <<- "EOF" // opening the file
echo "${mmcpart}" | tee info.txt // adding contents
echo "${root_fs}" | tee -a info.txt
EOF
和,echo "${mmcpart}" | tee info.txt // directly adding the contents in
文件
echo "${root_fs}" | tee -a info.txt
它不工作............谁能帮我找出来
【问题讨论】:
-
为什么是“c”标志?这里没有 C。