arthas/tutorials/katacoda/command-cat-en/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

269 B

First write hello, world into /tmp/a.txt:

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

Use cat to concatenate and print files, which is pretty much alike in linux.

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

Then you can see that hello, world has been printed out.