Files
freeCodeCamp/guide/english/bash/bash-chmod/index.md
Benabadji Mohammed Salim f40384972b fix example usage (#20213)
* fix example usage

* Removed translations
2018-11-02 19:34:54 +04:00

24 lines
440 B
Markdown

---
title: Bash chmod
---
## Bash command: 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)