Skip to content

Commit

Permalink
2016-04-09补充bash基础命令
Browse files Browse the repository at this point in the history
  • Loading branch information
judasn committed Apr 9, 2016
1 parent 4bb73df commit f709516
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Bash.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
- `ls -l`,列出目录下所有文件的权限、所有者、文件大小、修改时间及名称(也就是显示详细信息,不显示隐藏文件)。显示出来的效果如下:

``` nginx
-rwxr-xr-x. 1 root root 4096 3月 26 10:57,最前面的 **-** 表示这是一个普通文件
lrwxrwxrwx. 1 root root 4096 3月 26 10:57,最前面的 **l** 表示这是一个链接文件,类似 Windows 的快捷方式
drwxr-xr-x. 5 root root 4096 3月 26 10:57,最前面的 **d** 表示这是一个目录
-rwxr-xr-x. 1 root root 4096 3月 26 10:57,其中最前面的 - 表示这是一个普通文件
lrwxrwxrwx. 1 root root 4096 3月 26 10:57,其中最前面的 l 表示这是一个链接文件,类似 Windows 的快捷方式
drwxr-xr-x. 5 root root 4096 3月 26 10:57,其中最前面的 d 表示这是一个目录
```

- `ls -ld 目录名`,显示该目录的基本信息
Expand Down

0 comments on commit f709516

Please sign in to comment.