linux 中ls -F 选项

 

ls -F 选项在输出项追加文件的类型标识符。

例如:

001、

[root@PC1 test02]# ls       ## 测试文件
test        test01.txt  test02.txt  test03.txt       test04.txt  xxx001.ped  xxx003.ped
test01.csv  test02.csv  test03.csv  test03.txt.link  test05.txt  xxx002.ped
[root@PC1 test02]# ls -F    ## -F 选项
test/       test02.csv   test03.txt        test05.txt  xxx003.ped
test01.csv  test02.txt*  test03.txt.link@  xxx001.ped
test01.txt  test03.csv   test04.txt        xxx002.ped
## /表示目录的结尾; *表示具有可执行权限; @表示软链接; 普通文件则什么也不显示

 

 。

posted @ 2023-07-11 17:52  小鲨鱼2018  阅读(143)  评论(0编辑  收藏  举报