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 -l can view files detalis in directory,followed by left to right is:

    • competance, first char is d mean 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

chmod simple to use

  • chmod could modify user/group permissions on files/directories
  • command format followed:
chmod +/-rwx file/directory

means of rwx

  • file:

    • r:can use cat to view the file
    • w:can modify the file
    • x:can execute
  • directory:
    • r:can use ls to view the directory
    • w:can add or modify or delete file in the directory
    • x:can use cd to enter the directory

holiday11--English grammar

be format and useage

be format:

be is am are was were being been

  1. The man is back.
  2. They are back.
  3. He was back.
  4. They were back.
  5. They have been back.

holiday11的更多相关文章

随机推荐

  1. win10系统每次重启桌面图标排列都会改动怎么办

    鼠标右键点击个性化>主题>找到桌面图标设置>把计算机 回收站 用户的文件 控制面板 网络等前面框复选框全部勾选掉,然后在桌面新建文件夹把桌面所有的图标剪切到新建文件里面,然后把新建文 ...

  2. 面试:关于Zookeeper注册节点的上线和掉线

    Zookeeper中有一个重要的部件Monitor(监控中心),它是Dubbo中服务治理体系中的重要一环. 监控中心在启动的时候,会通过Zookeeper的/dubbo/com.foo.BarServ ...

  3. 多个if...else和switch...case语句的区别和分析

    1.场景: 当我们有一个判断条件的时候,显然用if语句比较方便有效. 但当判断条件很多的时候,我们可以使用if语句或者if....eles 语句和switch  case 语句. 2.如何选择 一般情 ...

  4. React使用高阶组件与Hooks实现权限拦截教程

    导读 高阶组件就是接受一个组件作为参数并返回一个新组件(功能增强的组件)的函数.这里需要注意高阶组件是一个函数,并不是组件,这一点一定要注意,本文给大家分享React高阶组件使用小结,一起看看吧 高阶 ...

  5. CNN模型踩坑记录

    刚刚在跑textCNN的模型,加载了字典后,在同样的输入下模型的输出一直在变化,先发现损失函数一直在变化,不停debug之后发现是模型的输出一直在变化,在模型输入一直不变下模型输出不同,最后发现是模型 ...

  6. Day21:尝试脱离相同ip连接

    今日完成的任务: 1.尝试使用组员打包的jar,在cmd中配置后端. 但是最终还是出现了部分问题导致无法连接. 2.在gitlab中更新最终的前端代码(就不放图了). 明日计划: 1.研究一下jar包 ...

  7. mysql去重保留1条记录

    delete from `wuye` where wuye_id in ( select * from ( select wuye_id from `wuye` where wuye_name in ...

  8. the origin of month name in English

    序号 月份 简述 详述 1 January Janus神 罗马神话的神Janus,双面,门神 2 February Februa节 古罗马人都要杀牲饮酒,欢庆菲勃卢姆节(Februarius).忏悔自 ...

  9. 自定义select组件

    (声明:当前记录篇参考于该人员 https://www.jb51.net/article/166679.htm ) 一.创建组件 1.新建文件夹:select 2.新建Component: selec ...

  10. django解决网站CORS前后端跨域问题

    1.安装cors-headers⼯具   pip install django-cors-headers 2.安装cors-headers应⽤ # 注册应用 INSTALLED_APPS = [ 'd ...