摘要: 软连接(符号连接) 软连接相当于windows的快捷方式 [root@docker ~]# ln -s nginx nginx-lele[root@docker ~]# ll nginx*-rw-r--r-- 1 root root 0 Sep 20 14:44 nginxlrwxrwxrwx 1 阅读全文
posted @ 2021-03-16 22:32 弓长虎三 阅读(119) 评论(0) 推荐(0)
摘要: linux基础权限介绍 r 4 read 可以读取文件内容 w 2 write 可以修改文件内容 x 1 execute 可以运行文件(命令,脚本) - 没有权限 - rw- r-- r--. 1 root root 384 Sep 1 2020 /etc/hosts 用户 用户主 其他 420 4 阅读全文
posted @ 2021-03-16 20:19 弓长虎三 阅读(69) 评论(0) 推荐(0)
摘要: id 查询用户信息 linux中用户如何分类 UID user id用户的id号 》身份证号 GID group id用户组id号码 》户口本号 1.皇上 root UID(0) 2.傀儡 虚拟用户 UID (1-499) 系统中的每个进程要有一个对应的用户,无法使用的 3.百姓 普通用户 UID 阅读全文
posted @ 2021-03-16 19:52 弓长虎三 阅读(310) 评论(0) 推荐(0)
摘要: (1)17347083 -rw-r--r--. 1 root root 384 Sep 1 2020 /etc/hosts (2)17347083 inode号 (3) - 文件类型 (4) rw-r--r-- 文件权限 (5) . .与selinux有关 (6) 1 文件硬链接数量 (7)root 阅读全文
posted @ 2021-03-16 00:22 弓长虎三 阅读(286) 评论(0) 推荐(0)