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

cat > testcatcreate.txt
test
test

[2]+ Stopped cat > testcatcreate.txt

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

相关文章:

  • 2022-12-23
  • 2021-04-12
  • 2021-11-10
  • 2021-05-21
  • 2022-02-01
猜你喜欢
  • 2022-12-23
  • 2021-09-14
  • 2022-12-23
  • 2021-08-26
  • 2021-09-25
  • 2022-12-23
  • 2021-12-13
相关资源
相似解决方案