We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b932429 commit b784513Copy full SHA for b784513
Bash.md
@@ -77,6 +77,7 @@
77
- `ls -F`,列出当前目录下的文件名及其类型。以 **/** 结尾表示为目录名,以 **\*** 结尾表示为可执行文件,以 **@** 结尾表示为符号连接
78
- `ls -lg`,同上,并显示出文件的所有者工作组名。
79
- `ls -lh`,查看文件夹类文件详细信息,文件大小,文件修改时间
80
+ - `ls /opt | head -5`,显示 opt 目录下前5条记录
81
- `ls -l /opt |grep "^-"|wc -l`,统计 opt 目录下文件的个数,不会递归统计
82
- `ls -lR /opt |grep "^-"|wc -l`,统计 opt 目录下文件的个数,会递归统计
83
- `ls -l /opt |grep "^d"|wc -l`,统计 opt 目录下目录的个数,不会递归统计
0 commit comments