mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-16 21:06:35 +08:00
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)
|
||||
|
||||
### 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:
|
||||
* [Wikipedia](https://en.wikipedia.org/wiki/Chmod)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user