当前位置:网站首页>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 |
边栏推荐
- Use of strtok and strError
- 跨区域网络的通信学习静态路由
- [C language] Pointer elementary knowledge points
- Basic mathematical knowledge (update)
- [C language] 5000 word super detailed explanation of various operations of the sequence table
- New fruit naming (DP is similar to the longest common subsequence)
- Scene thread allocation in MMO real-time combat games
- C language operators and input and output
- C language array and bubble sort
- Hebei: stabilizing grain and expanding beans to help grain and oil production improve quality and efficiency
猜你喜欢

CDGA|工业互联网行业怎么做好数据治理?
![[C language] Hanoi Tower problem [recursion]](/img/d8/ff66928c2bc2ad906e38a360a8cf94.png)
[C language] Hanoi Tower problem [recursion]

5. Difference between break and continue (easy to understand version)
![[C language] simulation implementation of strlen (recursive and non recursive)](/img/73/e92fe714515491f1ea366d6924c9ec.png)
[C language] simulation implementation of strlen (recursive and non recursive)

9. Pointer of C language (1) what is pointer and how to define pointer variables

A chip company fell in round B

河北:稳粮扩豆助力粮油生产提质增效

83. (cesium home) how the cesium example works

Zfoo adds routes similar to mydog
![[C language] random number generation and `include < time. H > 'learning](/img/bb/3e47bf2e3b25653d9048884d65cda3.png)
[C language] random number generation and `include < time. H > 'learning
随机推荐
A chip company fell in round B
Maximum exchange [greedy thought & monotonic stack implementation]
Raspberry Pie 3 connected to WiFi
How to automatically store email attachments in SharePoint
[C language] summary of methods for solving the greatest common divisor
通配符 SSL/TLS 证书
KubeEdge发布云原生边缘计算威胁模型及安全防护技术白皮书
Implementation of strcat in C language
zfoo增加类似于mydog的路由
[C language] simulation implementation of pow function (recursion)
Stories of Party members | Li qingai uses cartoons to drive farmers to increase income and become rich
C language - pointer
Use of strtok and strError
[C language] advanced pointer exercise 1
9. Pointer of C language (5) how many bytes does the pointer variable occupy
Zfoo adds routes similar to mydog
C language - question brushing column
8. Compilation errors of C language and Chinese explanation
最大交换[贪心思想&单调栈实现]
Sequential linear table - practice in class