From 49bb4c36fd68f68afc47295fff222ad98fc47ce8 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sat, 3 Dec 2016 23:39:03 +0800 Subject: [PATCH] =?UTF-8?q?ls=E5=91=BD=E4=BB=A4=E6=B7=BB=E5=8A=A0=E4=BE=8B?= =?UTF-8?q?=E5=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- command/ls.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/command/ls.md b/command/ls.md index 880943d0e9..8aad458214 100644 --- a/command/ls.md +++ b/command/ls.md @@ -1,6 +1,6 @@ ls === - + 显示目录内容列表 ## 补充说明 @@ -46,11 +46,11 @@ ls(选项)(参数) ### 实例 -显示当前目录下非影藏文件与目录 - -``` -[root@localhost ~]# ls -anaconda-ks.cfg install.log install.log.syslog satools +```bash +$ ls # 仅列出当前目录可见文件 +$ ls -l # 列出当前目录可见文件详细信息 +$ ls -hl # 列出详细信息并以可读大小显示文件大小 +$ ls -al # 列出所有文件(包括隐藏)的详细信息 ``` 显示当前目录下包括影藏文件在内的所有文件列表