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. pyqt5离线安装教程

    目前总结的安装pyqt5,需要的离线安装包,除了每一个包要跟系统版本适配之外,还要考虑包跟包之间的适配.pyqt5跟它开头的一些包要保持是同一个版本,至少有2个小数点的位数是一样的才行,qt5跟它开头 ...

  2. pandas-数据结构转换-纵转横

    如下代码,亲测有效,后面会附上入口以及出口数据结构截图 def test_func(file_path): """ 把pandas数据结构-dataframe,横向的索引 ...

  3. [iOS]Universal Link

    从零开始的操作流程在后面,这里把几个坑先挪到前面来 便于查看: ️ apple-app-site-association 只会在APP第一次启动的时候请求一次,因此文件的任何更新的验证都需要APP重新 ...

  4. centos6.5最小安装不能联网

    因为个人需要,在一台笔记本安装centos6.5最小安装时遇到了无法有线联网,后面经过了几个小时的处理 总算理清楚并解决了这个问题.亲测有效而不是转载! 如上图所示 处理这个问题颇有感受,在网上找了很 ...

  5. 修改python下载镜像源

    找到pip.ini(可能在"C:\Users\Administrator\AppData\Roaming\pip\pip.ini")→记事本打开→添加相应源 如果没有找到,在C:\ ...

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

    22.网络分析的相关算法 (1)Dijkstra算法(求解给定点与其他所有点之间的最短路径即单源点最短路径问题) (2)Floyd算法(直接计算任意两节点之间最短路) (3)最小生成树即Prim算法. ...

  7. python peewee

    from peewee import MySQLDatabase, Model from peewee import CharField, IntegerField, BooleanField # 引 ...

  8. inux配置PATH路径

    查看PATH:echo $PATH以添加python3为列 修改方法一:export PATH=P A T H : PATH:PATH:HOME/bin:export PATH=P A T H : P ...

  9. SQLSERVER自动备份数据库

    1. 通过操作系统的定时任务执行 创建两个文件,auto.bat和auto.sql,使用bat调用sql文件中的代码段 auto.bat内容 sqlcmd -S localhost,2433 -U s ...

  10. element3 form表单校验对象里面有对象的情况

    let formSearch = reactive({ queryParam: [ { field: "", //查询的字段 gzcs: "", //规则参数 ...