# cat
- [Command Function](#section16710153391315)
- [Syntax](#section1699392313158)
- [Parameters](#section1677217374136)
- [Usage](#section186772414131)
- [Example](#section12158131814561)
- [Output](#section183926225561)
## 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
Run the **cat** \[_pathname_\] command to display the content of a text file.
## Example
Run **cat hello-harmony.txt**.
## Output
**Figure 1** Displaying the content of **hello-harmony.txt**
