harmony 鸿蒙cat

  • 2022-08-09
  • 浏览 (438)

cat

命令功能

cat用于显示文本文件的内容。

命令格式

cat [pathname]

参数说明

表1 参数说明

参数 参数说明 取值范围
pathname 文件路径。 已存在的文件。

使用指南

cat用于显示文本文件的内容。

使用实例

举例:cat hello-openharmony.txt

输出说明

示例 查看 hello-openharmony.txt 文件的信息

OHOS # cat hello-openharmony.txt
OHOS # Hello openharmony ;)

你可能感兴趣的鸿蒙文章

harmony 鸿蒙内核

harmony 鸿蒙内核编码规范

harmony 鸿蒙标准库支持

harmony 鸿蒙中断管理

harmony 鸿蒙事件

harmony 鸿蒙互斥锁

harmony 鸿蒙消息队列

harmony 鸿蒙信号量

harmony 鸿蒙双向链表

harmony 鸿蒙内存管理

0  赞