summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormo <mo.khan@gmail.com>2019-05-22 20:20:15 -0600
committermo <mo.khan@gmail.com>2019-05-22 20:20:15 -0600
commit37f470489b99c6a86bcda72348d979e030240bd9 (patch)
treee93d67f42dfaf139e51261a9111f466c0b00d225 /README.md
parent57591618553ea4159e2e93454d147679045865b9 (diff)
solve more chmod
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 21 insertions, 2 deletions
diff --git a/README.md b/README.md
index 20cce4e..33a8112 100644
--- a/README.md
+++ b/README.md
@@ -234,8 +234,27 @@ lab and is followed by any optional single character in the `$HOME` directory.
$ chmod 751 ∼/lab?
```
-c. chmod 511 *.c
-d. chmod 711 ∼/*
+Change the permissions for all files in the current directory that end
+with a `.c` file extension.
+
+* read, execute for the owner (4 + 1 = 5)
+* execute for the group (1 = 1)
+* execute for everyone (1 = 1)
+
+```bash
+$ chmod 511 *.c
+```
+
+Change permissions for all files in the `$HOME` directory.
+
+* read, write, and execute for the owner (4 + 2 + 1 = 7)
+* execute for the group (1 = 1)
+* execute for everyone (1 = 1)
+
+```bash
+$ chmod 711 ∼/*
+```
+
e. ls -l
f. ls -ld
g. ls -l ∼/personal