首页 分享 linux文件后缀符号代表的类型*/=>@

linux文件后缀符号代表的类型*/=>@

来源:花匠小妙招 时间:2025-04-23 18:56

如果有-F这个参数, 那么如果ls的结果显示时:

可执行文件, 添加一个后缀*;
文件夹, 添加一个后缀/;
软连接, 添加一个后缀@;
以上, 都是为了方便你快速识别对应文件的属性.

更全的参见info ls:

`-F' `--classify' `--indicator-style=classify' Append a character to each file name indicating the file type. Also, for regular files that are executable, append `*'. The file type indicators are `/' for directories, `@' for symbolic links, `|' for FIFOs, `=' for sockets, `>' for doors, and nothing for regular files. Do not follow symbolic links listed on the command line unless the `--dereference-command-line' (`-H'), `--dereference' (`-L'), or `--dereference-command-line-symlink-to-dir' options are specified.

相关知识

Linux中查看各文件夹大小命令du
Linux 查看各文件夹大小命令du
Linux内字符串无法显示原因解析 (linux字符串不显示) – 后浪云
linux device driver Makfile
10、Linux中的Shell编程
Linux服务器通过AWS命令行上传文件至S3
嵌入式linux安装docker的条件 嵌入式linux开发环境搭建
百度统计来源后缀带ivk
kali linux渗透教程书籍(kali linux制作随身u盘)
Linux防疫手册:提高安全性的必备指南 (linux防毒)

网址: linux文件后缀符号代表的类型*/=>@ https://www.huajiangbk.com/newsview1786894.html

所属分类:花卉
上一篇: 当python遇上echarts
下一篇: 数据结构24

推荐分享