Show Table of Contents
Chapter 2. Shell Console Commands
The shell command group provides a number of commands that provide basic console functions such as displaying system information and showing the contents of files.
Type
shell: then press Tab at the prompt to view the commands in this group.
2.1. shell:cat, cat
Abstract
displays the contents of a file or URL
Synopsis
shell:cat [
-n
] [
--help
] {[
path
] | [
URL
]}
Arguments
Table 2.1, “shell:cat Arguments” describes the arguments for this command.
Table 2.1. shell:cat Arguments
| Argument | Interpretation |
|---|---|
-n | Display line numbers. |
--help | Displays the online help for this command |
path | The path(s) of the file to display, separated by whitespace (separated by - for STDIN) |
URL | The URL(s) to display, separated by whitespace (separated by - for STDIN) |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.