mirror of
https://github.com/Fechin/reference.git
synced 2026-11-22 14:01:45 +03:00
Updated tags
This commit is contained in:
1 parent
1f7b929f66
commit
fe21284ba9
5 files changed
+9
-9
No files matched your search
@@ -4,7 +4,7 @@ date: 2021-07-01 10:51:44
|
||||
icon: icon-permission
|
||||
background: bg-green-600
|
||||
tags:
|
||||
- permissions
|
||||
- permission
|
||||
categories:
|
||||
- Linux Command
|
||||
intro: |
|
||||
@@ -177,19 +177,19 @@ $ chmod =rwx,g+s chmodExampleScript.sh
|
||||
### Removing Permissions {.row-span-3}
|
||||
In order to remove read write permissions given to a file, use the following syntax:
|
||||
```shell
|
||||
chmod o-rw example.txt
|
||||
$ chmod o-rw example.txt
|
||||
```
|
||||
For our file example.txt, we can remove read write permissions using chmod for group by running the following command:
|
||||
```shell
|
||||
chmod g-rx example.txt
|
||||
$ chmod g-rx example.txt
|
||||
```
|
||||
To remove chmod read write permissions from the group while adding read write permission to public/others, we can use the following command:
|
||||
```shell
|
||||
chmod g-rx, o+rx example.txt
|
||||
$ chmod g-rx, o+rx example.txt
|
||||
```
|
||||
But, if you wish to remove all permissions for group and others, you can do so using the go= instead:
|
||||
```shell
|
||||
chmod go= example.txt
|
||||
$ chmod go= example.txt
|
||||
```
|
||||
|
||||
### Executable
|
||||
|
||||
@@ -4,7 +4,7 @@ date: 2020-12-16 18:28:43
|
||||
icon: icon-cron
|
||||
background: bg-red-500
|
||||
tags:
|
||||
- scheduler
|
||||
- schedule
|
||||
- crontab
|
||||
- time
|
||||
categories:
|
||||
|
||||
@@ -5,7 +5,7 @@ icon: icon-python
|
||||
background: bg-blue-600
|
||||
tags:
|
||||
- script
|
||||
- interpreted
|
||||
- interpret
|
||||
categories:
|
||||
- Programming
|
||||
intro: |
|
||||
|
||||
@@ -4,7 +4,7 @@ date: 2020-11-25 18:28:43
|
||||
icon: icon-regex
|
||||
background: bg-yellow-500
|
||||
tags:
|
||||
- regular expressions
|
||||
- regular expression
|
||||
- regexp
|
||||
- pattern
|
||||
categories:
|
||||
|
||||
Reference in new issue
Block a user