Jim*_*ers 3 linux ubuntu cat
我想用 1 行代码做到这一点:
创建一个文本文件,其中放置了彼此下方的 3 个句子。我知道创建一个空文本文件的命令是“cat > sample.txt”,但我想在一行代码中创建包含这 3 个句子的文件。像这样 :
sentence1 sentence2 sentence3
hax*_*tbh 6
echo -e "sentence1 \nsentence2 \nsentence3" >> sample.txt
归档时间:
11 年,1 月 前
查看次数:
3125 次
最近记录: