# cat - [Command Function](#section16710153391315) - [Syntax](#section1699392313158) - [Parameter Description](#section1677217374136) - [Usage](#section186772414131) - [Example](#section12158131814561) - [Output](#section183926225561) ## Command Function This command is used to display the content of a text file. ## Syntax cat \[_pathname_\] ## Parameter Description **Table 1** Parameters

Parameter

Description

Value Range

pathname

Indicates the file path.

An existing file

## Usage Run the **cat** \[_pathname_\] command to display the content of a text file. ## Example Enter **cat hello-harmony.txt**. ## Output **Figure 1** Viewing content of the **hello-harmony.txt** file ![](figure/viewing-content-of-the-hello-harmony-txt-file.png "viewing-content-of-the-hello-harmony-txt-file")