committed by
Niraj Nandish
parent
140dab8489
commit
f40384972b
@ -6,6 +6,18 @@ title: Bash chmod
|
|||||||
|
|
||||||
**Change the permissions of a File/Directory**, for example `chmod u+x hello.py`. (Gives the user the permission to execute the file)
|
**Change the permissions of a File/Directory**, for example `chmod u+x hello.py`. (Gives the user the permission to execute the file)
|
||||||
|
|
||||||
|
### Usage
|
||||||
|
|
||||||
|
**Change the permissions of a File/Directory**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
chmod [permission] [file_names]
|
||||||
|
```
|
||||||
|
permission can be r+w or r+w+x ...etc
|
||||||
|
|
||||||
|
* r = read
|
||||||
|
* w = write
|
||||||
|
* x = execute
|
||||||
|
|
||||||
### More Information:
|
### More Information:
|
||||||
* [Wikipedia](https://en.wikipedia.org/wiki/Chmod)
|
* [Wikipedia](https://en.wikipedia.org/wiki/Chmod)
|
||||||
|
Reference in New Issue
Block a user