holiday11
holiday11--linux basis
From today I will write my note in English ,hope I will stick to it.
user and authority
- User is an important part in linux system working,user managerment include user and group managerment.
- In linux,no matter log in the system locally or remotely,every system must have a account ,and have different usage rights in different system resource
- In linux ,you can appoint every user hava different competence for different file or diectory
- file/directory competance include:
| word | abbreviation | number |
|---|---|---|
| read | r | 4 |
| write | w | 2 |
| execute | x | 1 |
- In real development ,we can pre-set permissions for a grup ,then add different user into the group ,thereby no need to set permissions for every user.
ls -l expend
ls -lcan view files detalis in directory,followed by left to right is:- competance, first char is
dmean directory - number of hard links, popular speaking,that mean how many way to access current directories and files
- owner, the owner of files or directories in the home directory is usually the current user
- group
- size
- time
- name
- competance, first char is
chmod simple to use
chmodcould modify user/group permissions on files/directories- command format followed:
chmod +/-rwx file/directory
means of rwx
- file:
- r:can use
catto view the file - w:can modify the file
- x:can execute
- r:can use
- directory:
- r:can use
lsto view the directory - w:can add or modify or delete file in the directory
- x:can use
cdto enter the directory
- r:can use
holiday11--English grammar
be format and useage
be format:
be is am are was were being been
- The man is back.
- They are back.
- He was back.
- They were back.
- They have been back.
holiday11的更多相关文章
随机推荐
- hyper给linux扩容空间
1.hyper操作 (1)关机后,在设置中,查看硬盘驱动器中的虚拟磁盘及编号, (2)编辑磁盘->查找磁盘中选中刚才的编号磁盘 (3)操作时扩容(大小填的不是增量 ,是扩容以后的空间) 2.li ...
- 使用nvm实现自由切换nodejs版本
首先安装使用nvm前需要删除卸载干净!!! 可以去GitHub安装最新的版本:https://github.com/nvm-sh/nvm 或者直接下载Windows的 releases版本安装:htt ...
- appcrawler(2.1.3)采坑
转发:https://www.jianshu.com/p/d97290136bad 遇到的坑: 问题1: Exception in thread "main" org.openqa ...
- COMP3357 Cryptography
课程内容笔记,自用,不涉及任何 assignment,exam 答案 Notes for self use, not included any assignments or exams Course ...
- 题解 UVA10859 【Placing Lampposts】
交了N次,重构一次代码终于过了..... 题意:一片森林,1.输出占领所有边需要的最小的路灯个数 2.输出两端点均被占领的边的条数 3.只有一端被占领的边的条数 还是比较简单的 开始的时候思路不够清晰 ...
- Flink任务自定义个性化配置logback.xml文件
之前已经写过如何使用logback将日志直接写入Kafka,然后通过es和kibana实时查看 但是如果我们想要每个任务都能够带上单独的信息比如开发者.任务名称等信息,那么就需要每个任务都指定一个lo ...
- 前端js校验小数点
let result = (value.toString()).indexOf("."); if (result != -1 && value.toString() ...
- SSM框架实现附带信息的文件上传&下载
SSM框架实现附带信息的文件上传&下载 目录 目录 SSM框架实现附带信息的文件上传&下载 目录 技术概述 技术详述 技术使用中遇到的问题和解决过程 总结 参考链接 技术概述 在进 ...
- 复杂SQL语句及其优化
一,复杂SQL语句类型 1 ,笛卡尔连接 题目1:找出工资超过各自经理的员工姓名 表:employee(id , name , depid , salary, manager_id ) SELECT ...
- mysql 优化表空间报错Creating index 'PRIMARY' required more than 'innodb_online_alter_log_max_size' bytes of modification log. Please try again
背景:mysql数据库中有几个表的碎片率太高,浪费了存储空间且降低了读写效率,需要整理. mysql版本:5.6 先用optimize table 试试. 也执行了很久.但是结束后,data_free ...