From 8e4b2795ab644be4be357c7ace118548c1b11114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Sz=C5=91nyi?= Date: Mon, 5 Nov 2018 08:01:23 +0100 Subject: [PATCH] Add a "tip" section to the article (#29865) * Add a "tip" section to the article With 1 tip for a frequent error I got when I started using bash * Fixed formatting issues --- guide/english/bash/bash-cat/index.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/guide/english/bash/bash-cat/index.md b/guide/english/bash/bash-cat/index.md index d0b8477e8d..fd70e61c8d 100644 --- a/guide/english/bash/bash-cat/index.md +++ b/guide/english/bash/bash-cat/index.md @@ -4,9 +4,9 @@ title: Bash Cat ## Bash Cat -Cat is one of the most frequently used commands in Unix operating systems. +`cat` is one of the most frequently used commands in Unix operating systems. -Cat is used to read a file sequentially and print it to the standard output. +`cat` is used to read a file sequentially and print it to the standard output. The name is derived from its function to con**cat**enate files. ### Usage @@ -34,5 +34,9 @@ Concatenate the content of the two files and display the result in terminal: cat file1.txt file2.txt ``` +**Tip**: Using `cat` on a directory will cause error, so make sure it's a readable file. + #### More Information: * Wikipedia: https://en.wikipedia.org/wiki/Cat_(Unix) + +