在linux系統中,linux是不根據后綴名識別檔案型別的,所以使用file命令查看檔案的型別,
[root@node5 ~]# file /etc/shadow
/etc/shadow: ASCII text
[root@node5 ~]# file /etc
/etc: directory
[root@node5 ~]# file /dev/sda
/dev/sda: block special
[root@node5 ~]# file /dev/tty
/dev/tty: character special
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/202734.html
標籤:其他
上一篇:log4j日志記錄級別
