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. kubernetes构架及组件介绍

    传统部署时代 早期在物理机上直接运行应用程序,无法对其定义资源边界,导致资源不分配,其他的程序性能下降 虚拟化部署时代 虚拟化允许应用程序在VM之间隔离,并提供安全界别,但是不能自由访问应用程序 因为 ...

  2. GPS授时仪(网络校时服务器)成功投运攀枝花市中西医结合医院

    GPS授时仪(网络校时服务器)成功投运攀枝花市中西医结合医院 技术交流:岳峰 15901092122 论述当下网络时间同步的重要性 北京华人开创公司 技术交流15901092122 概述:电脑时间走时 ...

  3. Win上好用的App们

    recaps 习惯了mac的输入法切换键(CapsLock),在win下真是各种不适应.于是,找到了这个recaps.亲测好用(Win10 LTSC,键盘布局添加的英文.中文,中文用的第三方输入法). ...

  4. Flurl 组件使用

    简介 先发上官网地址:https://flurl.dev/ Flurl 是一个异步的.可测试的.可移植的.URL 构建器和 .NET 的 HTTP 客户端库:Flurl 在NuGet上可用,可免费用于 ...

  5. centos7清理docker垃圾文件

    相信很多朋友都有这个docker容器导致主机磁盘空间满了的问题,应用容器在宿主机上长期运行,应用实例启停容器,会产生大量的停止的容器,无容器使用的数据卷.网络配置,无容器依赖的镜像,这些垃圾日积月累, ...

  6. Win10家庭版找不到组策略gpedit.msc怎么办

    Win10家庭版找不到组策略gpedit.msc怎么办 @echo off pushd "%~dp0" dir /b %systemroot%\Windows\servicing\ ...

  7. 【服务器数据恢复】HP EVA存储多块硬盘离线的数据恢复案例

    服务器故障&检测&分析:某品牌EVA存储设备中的RAID5磁盘有两块硬盘掉线,lun丢失.硬件工程师对故障服务器进行物理故障检测,发现掉线硬盘能够正常读取,无物理故障,也没有发现坏道. ...

  8. CMMI审核期间的主要流程

    整个阶段大致2个月左右,正式评估大概一个星期 一 计划准备阶段,包括我们一些资料的准备,做评估计划等 二 执行评估阶段 启动会议 主要主任评估师讲,所有人员参会 会议内容:主任评估师自我介绍 ,项目信 ...

  9. File.createTempFile()

    File.createTempFile()的两个参数,是前缀和后缀,临时文件的文件名,会在前缀和后缀中各截取一部分,再拼接上随机数进行生成: 推荐手动指定目录,尽量指定到项目路径下,默认的磁盘位置,有 ...

  10. 蓝桥杯训练赛二-1467 问题 F: 蓝桥杯基础练习VIP-完美的代价

    题目描述 回文串,是一种特殊的字符串,它从左往右读和从右往左读是一样的.小龙龙认为回文串才是完美的.现在给你一个串,它不一定是回文的,请你计算最少的交换次数使得该串变成一个完美的回文串.交换的定义是: ...