mirror of
https://gitee.com/arthas/arthas.git
synced 2024-12-04 21:28:10 +08:00
c25dbd9a1f
* add cat command scenario. #847 Signed-off-by: hollowman6 <hollowman186@vip.qq.com> * fix link typo Signed-off-by: hollowman6 <hollowman186@vip.qq.com> * polish cat command scenario. #847 Signed-off-by: hollowman6 <hollowman186@vip.qq.com>
267 B
267 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
被打印了出来。