You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
arthas/tutorials/katacoda/command-cat-cn/cat.md

11 lines
267 B
Markdown

首先向`/tmp/a.txt`文件中写入`hello, world`
`echo "hello, world" > /tmp/a.txt`{{execute T2}}
通过`cat`命令可以打印文件内容和linux里的cat命令类似。
`cat /tmp/a.txt`{{execute T2}}
你可以看到`hello, world`被打印了出来。