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

文章来源: blog.51cto.com,作者:小白吴,版权归原作者所有,如需转载,请联系作者。

原文链接:blog.51cto.com/14958182/2541594

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
使用方法: 1.首先下载MATLAB 2017b linux版安装包,网上资源比较多,就不列举了。 下载完成后,在终端执行以下命令,挂载MATLAB安装镜像文件并安装。 sudo mkdir ./matlab sudo mount -t auto -o loop [YOUR_PATH]/Linux/R2017b_glnxa64.iso matlab/ cd ./matlab sudo ./install 2.安装过程中会让选择安装方法,这里最好先断开网络,然后选择“使用文件安装密钥(不需要Internet连接)”。文件安装密钥在Crack目录下的Readme.txt里,是一个串20位的数字。相应地接下来还要选择Crack目录下.lic文件作为license。在安装过程中要将“创建指向以下位置中的MATLAB脚本的符号链接”选项打勾。下面就等待安装完成就行了。 3.安装完成后,选择“不使用Internet手动激活”。需要输入许可证文件.lic的完整路径,这里选择Crack目录下的.lic就可以了。 4.将Crack/Linux文件夹下的libmwservices.so 复制到到 /usr/local/MATLAB/R2017b/bin/glnxa64。(最好在终端中执行sudo cp [libmwservices.so的路径]/libmwservices.so /usr/local/MATLAB/R2017b/bin/glnxa64,直接复制可能会有权限问题)这时应该就可以通过sudo matlab打开MATLAB软件了。下两步是可选的。 5.(可选)安装MATLAB支持包'sudo apt-get install matlab-support'。中间可选使用这款软件的用户以及重命名GCC库,原文教程中说可以忽略。我把当前用户作为了使用这款产品的用户。 6.(建议选择)为了避免每次都用root权限打开matlab,通过sudo chown [your ubuntu username] -R ~/.matlab改变权限。最终直接在终端输入matlab就可以打开MATLAB了,至此完成了MATLAB在Ubuntu下的安装和破解。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值