From b311206ed6f062375f42532e6c8e50c5a0915501 Mon Sep 17 00:00:00 2001 From: Lyn Perrine Date: Mon, 10 Jun 2019 11:56:20 -0700 Subject: [PATCH] Add cat command to view files --- source/C/command_line.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/C/command_line.rst b/source/C/command_line.rst index 489f8e07..153db63e 100644 --- a/source/C/command_line.rst +++ b/source/C/command_line.rst @@ -52,3 +52,11 @@ where you replace [file] with the file you want to edit. If you want to stop something running in the terminal press :kbd:`Control +C`. +If you want just to see the contents of a file on standard output run + +.. code:: + + cat [filename] + + +