holiday11
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 -lcan view files detalis in directory,followed by left to right is:- competance, first char is
dmean 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
- competance, first char is
chmod simple to use
chmodcould modify user/group permissions on files/directories- command format followed:
chmod +/-rwx file/directory
means of rwx
- file:
- r:can use
catto view the file - w:can modify the file
- x:can execute
- r:can use
- directory:
- r:can use
lsto view the directory - w:can add or modify or delete file in the directory
- x:can use
cdto enter the directory
- r:can use
holiday11--English grammar
be format and useage
be format:
be is am are was were being been
- The man is back.
- They are back.
- He was back.
- They were back.
- They have been back.
holiday11的更多相关文章
随机推荐
- 使用async实现多个请求并发
// 写法一 let [cache, cache2] = await Promise.all([cachePromise, cachePromise2]); // 写法二 let Promise= c ...
- 初学银河麒麟linux笔记 第三章 QT缺少的模块下载、更新软件源操作
在共享文件夹里将WINDOWS里已经编写好的QT程序编译之后,提示 Qt5: Unknown module(s) in QT: serialport 经查询,需要安装对应的模块库,写入 sudo ap ...
- 【C++】【纯代码】获取电脑的mac地址
bool GetMacAddress(CString &LanMAC) { #define MAX_ADAPTER_NAME_LENGTH 256 #define MAX_ADAPTER_DE ...
- Pytorch实战学习(八):基础RNN
<PyTorch深度学习实践>完结合集_哔哩哔哩_bilibili Basic RNN ①用于处理序列数据:时间序列.文本.语音..... ②循环过程中权重共享机制 一.RNN原理 ① X ...
- (原创)Onlyoffice docs docker实例安装示例后,打开文档提示:文档下载失败
不能使用localhost.请用本机ip访问
- Mac连接交换机
接上免驱动的绿联,可以看到有一个usb串口设备: ls /dev/tty.* /dev/tty.Bluetooth-Incoming-Port /dev/tty.usbserial-AB0LU5PY ...
- SpringCloud基本认知
SpringCloud基本认知 本文学习自<重新定义SpringCloud> 微服务架构概述 应用架构的发展 应用是可独立运行的程序代码,提供的相对应完善的业务功能. 目前软件架构有三 ...
- SQL_TIP_JOIN_x
没有条件的JOIN会导致数据数量变为两表的数据量的乘积结果. 用ON来在这些结果里进行筛选 on T1.A = T2.A的时候,如果T1的A是不重复的,则实际上是在对T2现有数据做筛选,结果数据量&l ...
- TCP&UDP测试工具使用方式方法
第一项:测试TCP 步骤1:首先需要一台电脑上建立一个TCP服务器.并设置一个端口号如下图60003即可.并开启服务 步骤2:在另外一台电脑上,创建一个客户端连接,如下图.输入服务器的IP地址和端口号 ...
- php集成环境包PhpStudy及部署网站
一.介绍: phpStudy 是一个PHP调试环境的程序集成包. 该程序包集成最新的Apache+PHP+MySQL+phpMyAdmin+ZendOptimizer,一次性安装,无须配置即可使用, ...