我正在尝试将文本的特定部分分配给Linux中的.txt文件

问题描述 投票:-2回答:1
$ echo -e "hello world! \hi World. \hello world" > text1.txt 

这行吗?

linux command
1个回答
1
投票

它将起作用。

但是您可以在终端上尝试一下,看看会发生什么魔术。一旦运行。做cat text1.txt

© www.soinside.com 2019 - 2024. All rights reserved.