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. 使用docker 创建6节点redis 集群 RedisCluster redis集群

    1.RedisCluster 特点(3主节点redis 集群  及6节点集群) 1.无中心节点,客户端与redis 节点直连,不需要中间代理,(有选举机制 master个数需要奇数个) 2.数据可以被 ...

  2. keeplive 双击热备方案 (对haproxy负载均衡 )双击热备方案

    1.安装 keepalived ,必选安装在haproxy 容器之内 1.进入容器:docker exec  -it   h1 bash 后执行下面步骤 1.更新apt-get apt-get upd ...

  3. 2023-03-01 Error: Invalid hook call.Hooks can only be called inside of the body of a function component.

    问题描述:rn项目使用钩子useState,详细报错如下: Error: Invalid hook call. Hooks can only be called inside of the body ...

  4. GIS空间分析和建模复习重点4

    27.三维地形分析的方法 常用的有 ·坡度分析 ·坡向分布 ·填挖方分析 ·山体阴影分析 ·通视分析 28.空间分析实际应用 (1)城市应急避难场所是城市防灾减灾规划的重要组成部分,应急避难场所的建设 ...

  5. eclipse设置UTF-8(字符编码集)所有方式

    一.全部方式 1.修改workspace编码 windows->preferences->gengral->workspace 选择other->UTF-8.  2.修改Con ...

  6. ROS创建工作空间 Create your workspace

    https://blog.csdn.net/baidu_38869387/article/details/119840120 http://wiki.ros.org/catkin/Tutorials/ ...

  7. C语言学习记录(三)

    C语言学习记录(三) 一.知识要点(数据类型.运算符与表达式) 1.C语言的数据类型 C语言数据结构有:基本类型.指针类型.构造类型和空类型.其中基本类型:查看书籍的22页表3-1. C语言的基本数据 ...

  8. 学习- vue 中 API $attr 用法

    2.4.0新增 定义:包含了父作用域不作为 prop 被识别(且获取)的 attribute 绑定( class 和 style 除外).当一个组件没有声明任何 prop 时,这里会包含所有父作用域的 ...

  9. Vue 使用Lodop进行标签(条码)打印

    一.使用到的插件:vue-barcode(vue条形码插件),Lodop打印控件(我这里使用windows64版,所以以此进行举例说明.). 详述:前者(指vue-barcode)针对在前端界面上观察 ...

  10. jabc连接数据库

    Java数据库连接,(Java Database Connectivity,简称JDBC)是Java语言中用来规范客户端程序如何来访问数据库的应用程序接口,提供了诸如查询和更新数据库中数据的方法.JD ...