linux 文件b类型b开头,Linux下的文件类型

Linux下的文件类型

1.-开头 表示普通文件

2.d开头 表示目录文件

3.b开头 表示块设备

4.c开头 表示是字符设备

5.I开头 表示符号链接文件

6.p开头 表示管道文件pipe

7.s开头 表示套接字文件socket

[root@centos7 ~]# ll -1 /run/

total 64

drwxr-xr-x. 2 root root 100 Oct 13 12:04 abrt

-rw-------. 1 root root 11 Oct 13 12:04 alsactl.pid

-rw-r--r--. 1 root root 5 Oct 13 12:04 atd.pid

-rw-r--r--. 1 root root 4 Oct 13 12:04 auditd.pid

drwxr-xr-x. 2 avahi avahi 80 Oct 13 12:04 avahi-daemon

drwxr-xr-x. 3 root root 60 Oct 13 12:04 boltd

drwxr-xr-x. 2 root root 40 Oct 13 12:04 console

-rw-r--r--. 1 root root 5 Oct 13 12:04 crond.pid

----------. 1 root root 0 Oct 13 12:04 cron.reboot

drwx------. 2 root root 40 Oct 13 12:04 cryptsetup

drwxr-xr-x. 3 root lp 80 Oct 13 12:04 cups

drwxr-xr-x. 2 root root 60 Oct 13 12:04 dbus

-rw-r--r--. 1 root root 4 Oct 13 15:07 dhclient-ens33.pid

-rw-r--r--. 1 root root 5 Oct 13 15:08 dhclient-ens37.pid

prw-------. 1 root root 0 Oct 13 12:04 dmeventd-client

prw-------. 1 root root 0 Oct 13 12:04 dmeventd-server

-rw-------. 1 root root 0 Oct 13 12:04 ebtables.lock

drwxr-xr-x. 2 root root 40 Oct 13 12:04 faillock

drwxr-x---. 2 root root 40 Oct 13 15:08 firewalld

drwx--x--x. 4 root gdm 100 Oct 13 12:04 gdm

-rw-------. 1 root root 4 Oct 13 12:04 gssproxy.pid

srw-rw-rw-. 1 root root 0 Oct 13 12:04 gssproxy.sock

drwxr-xr-x. 4 root root 100 Oct 13 12:04 initramfs

-rw-r--r--. 1 root root 4 Oct 13 12:04 ksmtune.pid

drwxr-xr-x. 7 root root 240 Oct 13 12:04 libvirt

-rw-r--r--. 1 root root 4 Oct 13 12:04 libvirtd.pid

drwxr-xr-x. 8 root root 220 Oct 13 13:19 lock

drwxr-xr-x. 3 root root 60 Oct 13 12:04 log

drwxrwxr-x. 3 root libstoragemgmt 60 Oct 13 12:04 lsm

drwx------. 2 root root 80 Oct 13 12:04 lvm

-rw-r--r--. 1 root root 4 Oct 13 12:04 lvmetad.pid

drwxr-xr-x. 2 mysql mysql 40 Oct 13 12:04 mariadb

srwxr-xr-x. 1 root root 0 Oct 13 12:04 mcelog-client

-rw-r--r--. 1 root root 3 Oct 13 12:04 mcelog.pid

drwx--x---. 2 root root 40 Oct 13 12:04 mdadm

drwxr-xr-x. 2 root root 40 Oct 13 12:04 media

drwxr-xr-x. 2 root root 40 Oct 13 12:04 mount

drwxrwxr-x. 2 root root 40 Oct 13 12:04 netreport

drwxr-xr-x. 4 root root 140 Oct 13 12:04 NetworkManager

drwxr-xr-x. 2 root root 40 Oct 13 12:05 plymouth

drwxr-xr-x. 2 root root 40 Oct 13 12:04 ppp

drwxr-xr-x. 2 radvd radvd 40 Oct 13 12:04 radvd

drwx------. 2 rpc rpc 40 Oct 13 12:04 rpcbind

-r--r--r--. 1 root root 0 Oct 13 12:04 rpcbind.lock

srw-rw-rw-. 1 root root 0 Oct 13 12:04 rpcbind.sock

drwxr-xr-x. 2 root root 40 Oct 13 12:04 samba

drwxrwxr-x. 2 root screen 40 Oct 13 12:04 screen

drwxr-xr-x. 2 root root 40 Oct 13 12:04 sepermit

drwxr-xr-x. 2 root root 40 Oct 13 12:04 setrans

drwx--x--x. 2 setroubleshoot setroubleshoot 40 Oct 13 12:04 setroubleshoot

-rw-------. 1 root root 5 Oct 13 12:04 sm-notify.pid

drwxr-xr-x. 2 root root 40 Oct 13 12:04 spice-vdagentd

drwxr-xr-x. 2 squid squid 40 Oct 13 12:04 squid

-rw-r--r--. 1 root squid 5 Oct 13 12:04 squid.pid

-rw-r--r--. 1 root root 5 Oct 13 12:04 sshd.pid

drwx--x--x. 3 root root 60 Oct 13 12:04 sudo

drwxr-xr-x. 2 root root 60 Oct 13 12:04 sysconfig

-rw-------. 1 root root 4 Oct 13 12:04 syslogd.pid

drwxr-xr-x. 18 root root 440 Oct 13 12:05 systemd

drwxr-xr-x. 2 root root 60 Oct 13 12:04 tmpfiles.d

drwxr-xr-x. 2 root root 60 Oct 13 12:04 tuned

drwxr-xr-x. 7 root root 160 Oct 13 12:06 udev

drwx------. 2 root root 40 Oct 13 12:04 udisks2

drwxr-xr-x. 4 root root 80 Oct 13 12:05 user

-rw-rw-r--. 1 root utmp 1920 Oct 13 12:08 utmp

drwxr-xr-x. 2 root root 60 Oct 13 12:04 vmware

-rw-------. 1 root root 0 Oct 13 12:04 xtables.lock

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值