mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
328 B
328 B
首先向/tmp/a.txt{{}} 文件中写入hello, world{{}} :
echo "hello, world" > /tmp/a.txt{{execute T2}}
通过 cat 命令 可以打印文件内容,和 linux 里的 cat 命令类似。
cat /tmp/a.txt{{execute T2}}
你可以看到hello, world{{}} 被打印了出来。