Skip to content

Commit f0a75e9

Browse files
authored
Merge pull request #3 from boidushya/development
added chmod
2 parents aba2855 + 6cc7193 commit f0a75e9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,4 +157,8 @@ __20. ```sort``` command__
157157
- ```sort -u <file_name>``` : to remove duplicated.
158158
- Example : ```ls | sort``` : used with list command.
159159

160-
160+
__21. ```chmod``` command__
161+
- chmod is used to make a file executable and to change the permissions granted to it in Linux
162+
- ```chmod +x <file_name>``` : make a file executable.
163+
- ```chmod <permission> <file_name>``` : a set of flags associated with each file determines who can access that file, and how they can access it.
164+
- Example : ```chmod 755 main.py | chmod +x main.py``` : used to make the file `main.py` executable.

0 commit comments

Comments
 (0)