当前位置:网站首页>ls 常用参数
ls 常用参数
2022-06-24 18:45:00 【51CTO】
–help
显示此帮助信息并离开
–version
显示版本信息并离开
-
a
–all
列出目录下的所有文件,包括以 .
开头的隐含文件
-
A
同
-
a,但不列出“.
”(
表示当前目录)
和“..
”(
表示当前目录的父目录)
。
-
c
配合
-
lt:根据
ctime
排序及显示
ctime (
文件状态最后更改的时间)
配合
-
l:显示
ctime
但根据名称排序否则:根据
ctime
排序
-
C
每栏由上至下列出项目
–color[
=
WHEN]
控制是否使用色彩分辨文件。WHEN
可以是
'never'
、
'always'
或
'auto'
其中之一
-
d
–directory
将目录象文件一样显示,而不是显示其下的文件。
-
D
–dired
产生适合
Emacs
的
dired
模式使用的结果
-
f
对输出的文件不进行排序,
-
aU
选项生效,
-
lst
选项失效
-
g
类似
-
l,
但不列出所有者
-
G
–no
-
group
不列出任何有关组的信息
-
h
–human
-
readable
以容易理解的格式列出文件大小 (
例如
1
K
234
M
2
G)
–si
类似
-
h,
但文件大小取
1000
的次方而不是
1024
-
H
–dereference
-
command
-
line
使用命令列中的符号链接指示的真正目的地
–indicator
-
style
=
方式
指定在每个项目名称后加上指示符号
<
方式
>
:none (
默认)
,classify (
-
F)
,file
-
type (
-
p)
-
i
–inode
印出每个文件的
inode
号
-
I
–ignore
=
样式
不印出任何符合
shell
万用字符
<
样式
>
的项目
-
k
即
–block
-
size
=
1
K,
以
k
字节的形式表示文件的大小。
-
l
除了文件名之外,还将文件的权限、所有者、文件大小等信息详细列出来。
-
L
–dereference
当显示符号链接的文件信息时,显示符号链接所指示的对象而并非符号链接本身的信息
-
m
所有项目以逗号分隔,并填满整行行宽
-
o
类似
-
l,
显示文件的除组信息外的详细信息。
-
r
–reverse
依相反次序排列
-
R
–recursive
同时列出所有子目录层
-
s
–size
以块大小为单位列出所有文件的大小
-
S
根据文件大小排序
-
t
以文件修改时间排序
-
u
配合
-
lt:
显示访问时间而且依访问时间排序
-
U
不进行排序;
依文件系统原有的次序列出项目
-
v
根据版本进行排序
-
w
–width
=
COLS
自行指定屏幕宽度而不使用目前的数值
-
x
逐行列出项目而不是逐栏列出
-
X
根据扩展名排序
-
1
每行只列出一个文件
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
- 14.
- 15.
- 16.
- 17.
- 18.
- 19.
- 20.
- 21.
- 22.
- 23.
- 24.
- 25.
- 26.
- 27.
- 28.
- 29.
- 30.
- 31.
- 32.
- 33.
- 34.
- 35.
边栏推荐
猜你喜欢

論文解讀(SR-GNN)《Shift-Robust GNNs: Overcoming the Limitations of Localized Graph Training Data》

Huitongda officially landed at the Hong Kong Stock Exchange: the gross profit margin continued to decline, and the book value of several shareholders still suffered losses

使用阿里云RDS for SQL Server性能洞察优化数据库负载-初识性能洞察

The verifiable certificate of geoscience remote sensing industry

程序员如何做自媒体?

Source code analysis of ArrayList

LabView之MQTT协议使用

微服务系统设计——接口文档管理设计

论文解读(SR-GNN)《Shift-Robust GNNs: Overcoming the Limitations of Localized Graph Training Data》

Vite+web3: referenceerror: process is not defined
随机推荐
Graph traversal (BFS and DFS) C language pure handwriting
Value passing and reference passing of value types and reference types in CSharp
What is business intelligence (BI)?
Executing SQL statements with parameterized commands
FROM_ GLC introduction and data download tutorial
初步学习Nuxt3
PLC功能块系列之多段曲线控温FB(SCL程序)
Usage of typedef enum (enumeration)
AI时代生物隐私如何保护?马德里自治大学最新《生物特征识别中的隐私增强技术》综述,全面详述生物隐私增强技术
应用程序DDoS攻击原理及防御方法
360 digital released information security trends in January: 120000 fraud risks were captured and users were reminded 2.68 million times
Sr-gnn shift robot gnns: overlapping the limitations of localized graph training data
next_ Permutation full permutation function
Some knowledge of the beginning of 2022
論文解讀(SR-GNN)《Shift-Robust GNNs: Overcoming the Limitations of Localized Graph Training Data》
JS string method
What is decision intelligence?
JS event details
Introduction to smart contract security audit delegatecall (2)
subject may not be empty [subject-empty]