arthas/tutorials/katacoda/command-cat-cn/cat.md
Hollow Man c25dbd9a1f
Arthas cat 命令教程 (#1319)
* 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>
2020-07-23 14:32:29 +08:00

267 B
Raw Blame History

首先向/tmp/a.txt文件中写入hello, world

echo "hello, world" > /tmp/a.txt{{execute T2}}

通过cat命令可以打印文件内容和linux里的cat命令类似。

cat /tmp/a.txt{{execute T2}}

你可以看到hello, world被打印了出来。