当前位置:网站首页>File lookup and file permissions
File lookup and file permissions
2022-07-28 20:19:00 【Guanglongyu】
1. find Use of commands and options
| command | explain |
|---|---|
| find | Find the file in the specified directory ( Including directory ) |
find Command options :
| Options | explain |
|---|---|
| -name | According to the file name ( Include directory name ) Word search |
2. find Command combined with wildcard
wildcard :
Is a special statement , It has an asterisk (*) And question mark (?), Used to blur search files
| wildcard | explain |
|---|---|
| * | representative 0 Any character or characters |
| ? | Represents any character |
Expand :
Wildcards can not only combine find Command to use , It can also be used in conjunction with other commands , such as : ls、mv、cp etc. , It should be noted here that only find The command uses wildcard characters and requires quotation marks .
3. chmod Introduction to the order
| command | explain |
|---|---|
| chmod | Modify file permissions |
chmod There are two ways to modify file permissions :
- Alphabet
- Digital method
4. chmod The use of alphabet
Role description :
| role | explain |
|---|---|
| u | user, Represents the owner of the file |
| g | group, Represents a user group |
| o | other, Means other users |
| a | all, Represents all users |
Permission setting description :
| The operator | explain |
|---|---|
| + | Increase the permissions |
| - | Revoke authority |
| = | Set the permissions |
Permission specification :
| jurisdiction | explain |
|---|---|
| r | Can be read |
| w | Can write |
| x | Executable |
| - | No authority |
边栏推荐
- Using Lex (Flex) to generate lexical analyzer of PL language
- 最大交换[贪心思想&单调栈实现]
- 河北邯郸:拓展基层就业空间 助力高校毕业生就业
- C language - control statement
- C language function
- [C language] scanf format input and modifier summary
- [C language] print pattern summary
- Raspberry connects EC20 for PPP dialing
- [C language] simulation implementation of strlen (recursive and non recursive)
- Maximum exchange [greedy thought & monotonic stack implementation]
猜你喜欢

83. (cesium home) how the cesium example works

Introduction to seven kinds of polling (practice link attached)

KubeEdge发布云原生边缘计算威胁模型及安全防护技术白皮书
![[C language] guessing numbers game](/img/ac/81a82404618487861b67e35f18d13f.png)
[C language] guessing numbers game

Implementation of strstr in C language
![[experiment sharing] CCIE BGP reflector experiment](/img/e4/1ddd611c8438cb6ca1be32f34fa67a.png)
[experiment sharing] CCIE BGP reflector experiment

ssm中项目异常处理

2022年下半年系统集成项目管理工程师认证8月20日开班

Const pointer of C language and parameter passing of main function

The results of the second quarter online moving people selection of "China Internet · moving 2022" were announced
随机推荐
河北邯郸:拓展基层就业空间 助力高校毕业生就业
C语言简单实例 1
[C language] comprehensively analyze the pointer and sort out the pointer knowledge points
Solve the problem of adding the least number of parentheses (interval DP)
NEIL: Extracting Visual Knowledge from Web Data
Raspberry Pie 3 connected to WiFi
New fruit naming (DP is similar to the longest common subsequence)
C+ + core programming
Implementation of memmove in C language
9. Pointer of C language (5) how many bytes does the pointer variable occupy
通配符 SSL/TLS 证书
WPF -- implement websocket server
MySQL command statement (personal summary)
有哪个老哥知道flinksql 日志很大要怎么解决吗
【实验分享】CCIE—BGP反射器实验
C language function
Cdga | how can the industrial Internet industry do a good job in data governance?
[C language] Fibonacci sequence [recursion and iteration]
flask_ Mail source code error
产品经理访谈 | 第五代验证码的创新与背景