harmony 鸿蒙cat

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

cat

Command Function

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

Syntax

cat [pathname]

Parameters

Table 1 Parameter description

Parameter Description Value Range
pathname Specifies 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

0  赞