Linux 基础命令(三)

Linux 基础命令(三)1 file 检查并显示文件类型 determine file type 一般用法就是 file 后面接要查看的文件 可以一个或多个 root test test ll total 140 rw rr 2 root root 18 Oct 17 16 05 ascii txt lrwxrwxrwx 1 root root

大家好,我是讯享网,很高兴认识大家。

1.file检查并显示文件类型(determine file type)


讯享网

一般用法就是file 后面接要查看的文件 可以一个或多个

[root@test test]# ll total 140 -rw-r--r-- 2 root root 18 Oct 17 16:05 ascii.txt lrwxrwxrwx 1 root root 9 Oct 17 16:06 ascii.txt.link -> ascii.txt -rw-r--r-- 2 root root 18 Oct 17 16:05 ascii_hardlink.txt -rwxr-xr-x 1 root root  Oct 17 16:05 cp -rwxr-xr-x 1 root root 4534 Oct 17 16:04 sshd [root@test test]# file ascii_hardlink.txt ascii_hardlink.txt: ASCII text [root@test test]# file ascii.txt ascii.txt.link ascii.txt: ASCII text ascii.txt.link: symbolic link to `ascii.txt' [root@test test]# file ascii.txt ascii.txt.link ascii_hardlink.txt cp sshd ascii.txt: ASCII text ascii.txt.link: symbolic link to `ascii.txt' ascii_hardlink.txt: ASCII text cp: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped sshd: Bourne-Again shell script text executable 

讯享网
小讯
上一篇 2025-02-28 13:35
下一篇 2025-02-10 10:18

相关推荐

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/33565.html