[{"createTime":1735734952000,"id":1,"img":"hwy_ms_500_252.jpeg","link":"https://activity.huaweicloud.com/cps.html?fromacct=261f35b6-af54-4511-a2ca-910fa15905d1&utm_source=V1g3MDY4NTY=&utm_medium=cps&utm_campaign=201905","name":"华为云秒杀","status":9,"txt":"华为云38元秒杀","type":1,"updateTime":1735747411000,"userId":3},{"createTime":1736173885000,"id":2,"img":"txy_480_300.png","link":"https://cloud.tencent.com/act/cps/redirect?redirect=1077&cps_key=edb15096bfff75effaaa8c8bb66138bd&from=console","name":"腾讯云秒杀","status":9,"txt":"腾讯云限量秒杀","type":1,"updateTime":1736173885000,"userId":3},{"createTime":1736177492000,"id":3,"img":"aly_251_140.png","link":"https://www.aliyun.com/minisite/goods?userCode=pwp8kmv3","memo":"","name":"阿里云","status":9,"txt":"阿里云2折起","type":1,"updateTime":1736177492000,"userId":3},{"createTime":1735660800000,"id":4,"img":"vultr_560_300.png","link":"https://www.vultr.com/?ref=9603742-8H","name":"Vultr","status":9,"txt":"Vultr送$100","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":5,"img":"jdy_663_320.jpg","link":"https://3.cn/2ay1-e5t","name":"京东云","status":9,"txt":"京东云特惠专区","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":6,"img":"new_ads.png","link":"https://www.iodraw.com/ads","name":"发布广告","status":9,"txt":"发布广告","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":7,"img":"yun_910_50.png","link":"https://activity.huaweicloud.com/discount_area_v5/index.html?fromacct=261f35b6-af54-4511-a2ca-910fa15905d1&utm_source=aXhpYW95YW5nOA===&utm_medium=cps&utm_campaign=201905","name":"底部","status":9,"txt":"高性能云服务器2折起","type":2,"updateTime":1735660800000,"userId":3}]
<>Linux文件权限一共10位长度,分成四段,第三段表示的内容是什么
答:文件所有者所在组的权限
linux文件权限,包含了四段,主要如下:
第一段1位:表示文件类型
第二段3位:表示所有者权限 (xxx)分别表示 读(4) 写(2) 执行(1)
第三段3位:表示所在组权限 (xxx)分别表示 读(4) 写(2) 执行(1)
第四段3位:表示其他用户权限 (xxx)分别表示 读(4) 写(2) 执行(1)
四段权限从左至右分别为文件类型,所有者的权限,所有者所在组的权限,其他用户的权限。
每个Linux文件具有四种访问权限:可读®、可写(w)、可执行(x)和无权限(-)。利用ls
-l命令可以看到某个文件或目录的权限,它以显示数据的第一个字段为准。第一个字段由10个字符组成。
<>其中文件类型部分
-为:表示文件
d为:表示文件夹
l为:表示链接文件,可以理解为 windows中的快捷方式(link file)
b为:表示里面可以供存储周边设备
c为:表示里面为一次性读取装置
<>Linux 的体系结构
从大的方面讲,Linux 体系结构可以分为两块:Linux 体系结构
⭐用户空间(User Space) :用户空间又包括用户的应用程序(User Applications)、C 库(C Library) 。
⭐内核空间(Kernel Space) :内核空间又包括系统调用接口(System Call
Interface)、内核(Kernel)、平台架构相关的代码(Architecture-Dependent Kernel Code) 。