summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 12 insertions, 2 deletions
diff --git a/README.md b/README.md
index 8f9c21e..e971b07 100644
--- a/README.md
+++ b/README.md
@@ -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