openharmony 鸿蒙 kernel-small-debug-shell-file-cat

2022-08-09 浏览 (811)

cat

Command Function

This command is used to display the content of a text file.

Syntax

cat [pathname]

Parameters

Table 1 Parameter description

ParameterDescriptionValue Range
pathnameSpecifies the file path.An existing file

Usage Guidelines

Run the cat [pathname] command to display the content of a text file.

Example

Run cat hello-openharmony.txt.

Output

Content of hello-openharmony.txt

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

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Kernel

harmony 鸿蒙Kernel Coding Specification

harmony 鸿蒙Standard Libraries

harmony 鸿蒙Interrupt Management

harmony 鸿蒙Event

harmony 鸿蒙Mutex

harmony 鸿蒙Queue

harmony 鸿蒙Semaphore

harmony 鸿蒙Doubly Linked List

harmony 鸿蒙Memory Management

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/ba8926b9996a4c69aaddf3d8f6c40ecc