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. K8S-kubeadm集群安装

    K8S-kubeadm集群安装 一.环境准备 1.服务器信息 2.系统初始(所有服务器) 2.1修改主机名 hostnamectl set-hostname <主机名> 2.2添加主机ho ...

  2. word生成产生错误的原因

    技术背景 很多时候我们网站或者系统需要提供一些word文件,例如证明.docx或者订单.docx等文件供用户下载打印等. 用Java操作word文档,毫无疑问,当下最流行apache poi,对于po ...

  3. Excel条件格式的应用

    一.突出单元格规则 大于/小于/等于/包含/发生日期/重复值 发生日期(自定义)通常通过辅助单元格进行:选中单元格区域,条件格式-新建规则-选择规则类型(使用公式确定要设置的单元格),设置内容如下 二 ...

  4. Docker 安装 PHP+Nginx

    安装Nginx docker pull nginx 安装PHP docker pull php:7.3.5-fpm 启动PHP-FPM docker run --name myphpfpm -v /d ...

  5. Delphi播放铃声

    两种方式: 一.简单直接 uses MMSystem; procedure TFmSound.playBtnClick(Sender: TObject); begin PlaySound(PChar( ...

  6. python学习——set集合,sorted函数

    题目: 输入a,b班的名单,并进行如下统计. 输入格式: 第1行::a班名单,一串字符串,每个字符代表一个学生,无空格,可能有重复字符.第2行::b班名单,一串字符串,每个学生名称以1个或多个空格分隔 ...

  7. Vim与系统剪贴板的复制粘贴

    上次在VirtualBox 安装Ubuntu 的时候有用到 vi/vim 与系统剪贴板的复制粘贴 通用问题,因此记录一下. 开始前需要先查看vim 是否已经支持clipboard功能,使用vim -- ...

  8. ES6-新增方法

    一.字符串的新增方法 1.includes方法(实例的方法): 应用: 代码优化: (1)先使用includes方法判断是url中否包含? (2)如果包含?, 再判断url最后一位字符是不是?或&am ...

  9. paddle 错误(ValueError: all input arrays must have the same shape)

    参考:voc数据集执行eval.py命令报错 · Issue #3456 · PaddlePaddle/PaddleDetection (github.com) 配置文件加这两行: EvalReade ...

  10. 【Ubuntu】Ubuntu 技巧集锦

    『Ubuntu 22.04 国内镜像 阿里云/163源/清华大学/中科大』 『各种 Proxy 设置 GUI/Terminal/APT』 『设置 wget Proxy』 『设置右键菜单-新建文档』 『 ...