mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
* 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>
11 lines
269 B
Markdown
11 lines
269 B
Markdown
|
|
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.
|