cat > 命令也可以创建文档

今天看《Linux/Unix系统编程手册》,发现用cat > 命令也可以直接创建文本文档:

cat > testcatcreate.txt
test
test

[2]+ Stopped cat > testcatcreate.txt

[root@localhost others]# cat testcatcreate.txt
test
test
[root@localhost others]#

posted @ 2016-09-04 20:48  IT由零开始  阅读(795)  评论(0编辑  收藏  举报