From 18b0c870117bc9a9e6a53dbbec664ac10c2a3e7d Mon Sep 17 00:00:00 2001 From: liujing97 Date: Wed, 10 Apr 2019 22:18:13 +0800 Subject: [PATCH] Translated by liujing97 --- ...rstand And Identify File types in Linux.md | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/translated/tech/20190108 How To Understand And Identify File types in Linux.md b/translated/tech/20190108 How To Understand And Identify File types in Linux.md index 02dd3c72b7..79f0f7af8d 100644 --- a/translated/tech/20190108 How To Understand And Identify File types in Linux.md +++ b/translated/tech/20190108 How To Understand And Identify File types in Linux.md @@ -10,7 +10,7 @@ 怎样理解和识别 Linux 中的文件类型 ====== -众所周知,在 Linux 中包括硬盘和显卡等在内的一切皆为文件。 +众所周知,在 Linux 中一切皆为文件,包括硬盘和显卡等。 在 Linux 中导航时,大部分的文件都普通文件和目录文件。 @@ -35,21 +35,22 @@ * 特殊文件(该类有五个类型的文件) * 链接文件 * 字符设备文件 - * Socket文件 + * Socket 文件 * 命名管道文件 * 块文件 -参考下面的表可用更好理解 Linux 中的文件类型。 -| 符号 | 意义                                       | -| – | 普通文件。以下划线"_"开头。                            | -| d | 目录文件。以英文字母“d"开头。                           | -| l | 链接文件。以英文字母“l"开头。                           | -| c | 字符设备文件。以英文字母“c”开头。                         | -| s | Socket 文件。以英文字母“s”开头。                         | -| p | 命名管道文件。以英文字母“p”开头。                         | -| b | 块文件。以英文字母“b”开头。                            | +参考下面的表可以更好地理解 Linux 中的文件类型。 +| 符号 | 意义                  | +| – | 普通文件。以下划线"_"开头。      | +| d | 目录文件。以英文字母“d"开头。     | +| l | 链接文件。以英文字母“l"开头。     | +| c | 字符设备文件。以英文字母“c”开头。   | +| s | Socket 文件。以英文字母“s”开头。   | +| p | 命名管道文件。以英文字母“p”开头。   | +| b | 块文件。以英文字母“b”开头。      | + ### 方法1:手动识别 Linux 中的文件类型