diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -220,10 +220,20 @@ The following will change the permissions for a file named `lab5` in the * read and write for everyone (4 + 2 = 6) ```bash -chmod 776 ∼/lab5 +$ chmod 776 ∼/lab5 +``` + +The following will change the permissions for any files that start with +lab and is followed by any optional single character in the `$HOME` directory. + +* read, write, execute for the owner (4 + 2 + 1 = 7) +* read, execute for the group (4 + 1 = 5) +* execute for everyone (1 = 1) + +```bash +$ chmod 751 ∼/lab? ``` -b. chmod 751 ∼/lab? c. chmod 511 *.c d. chmod 711 ∼/* e. ls -l |
