From 611a570f1acfdefe7e13711f63932013b796fbb3 Mon Sep 17 00:00:00 2001 From: Nathan-Abegaz <33362510+Nathan-Abegaz@users.noreply.github.com> Date: Sat, 15 Dec 2018 02:36:09 -0800 Subject: [PATCH] Previewing file text editor through "cat" (#23892) * Previewing file text editor through "cat" * Fixed formatting --- guide/english/terminal-commandline/macos-terminal/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/guide/english/terminal-commandline/macos-terminal/index.md b/guide/english/terminal-commandline/macos-terminal/index.md index f14ee7dae5..2a40fb8aac 100644 --- a/guide/english/terminal-commandline/macos-terminal/index.md +++ b/guide/english/terminal-commandline/macos-terminal/index.md @@ -66,6 +66,11 @@ Use the following syntax to delete a file #### Terminate the process which uses the port you want to use ``` kill ``` + +#### Previewing file +If you would like to preview a file, type the command `cat ` and you would be able to preview a text document through the terminal. + + ## iTerm2 iTerm2 is an alternative to the legacy terminal in Mac OS. iTerm2 brings some new features such as: