diff --git a/README.md b/README.md index 22f6f0a..005c28d 100644 --- a/README.md +++ b/README.md @@ -116,37 +116,10 @@ cat < file1 > file2 #copy file1 to file2 ``` ### b. `chmod` -Lets you change the read, write, and execute permissions on your files. +Lets you change the read, write, and execute permissions on your files. For more information on this command check this [link](https://ss64.com/bash/chmod.html). ```bash chmod -options filename ``` -Syntax : (for numericals role assignment) -```bash -chmod nnn /path/to/file -``` -Where n is number from 0 to 7 - - - -Following number are used for permissions
-0 - no permissions
-1 - execute
-2 - write
-3 - write and execute
-4 - read
-5 - read and execute
-6 - read and write
-7 - read, write and execute.
- -For example to provide full access to only Owner - -```bash -chmod 700 path/to/file -``` ### c. `cp` Copies a file from one location to other.