summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormo <mo.khan@gmail.com>2019-05-22 21:10:59 -0600
committermo <mo.khan@gmail.com>2019-05-22 21:10:59 -0600
commit5a2913e7e7fa2ea2db99110cd965dc06f5f6b0db (patch)
tree2414ecdd9ffdf19ffaee969835fccf183adb0692 /README.md
parent3809267a9612dc41126e9a0d51e4336aeb023e85 (diff)
add chapter 9 questions
Diffstat (limited to 'README.md')
-rw-r--r--README.md38
1 files changed, 38 insertions, 0 deletions
diff --git a/README.md b/README.md
index 9436174..65b4b63 100644
--- a/README.md
+++ b/README.md
@@ -322,6 +322,44 @@ See `exercises/chapter-8.13`.
## Do problem 9 (What do the following commands do?) in Chapter 9.
+What do the following commands do?
+
+```bash
+$ cp -f sample sample.bak
+```
+
+```bash
+$ cp -fp sample sample.bak
+```
+
+```bash
+$ rm -i ∼/personal/memo*.doc
+```
+
+```bash
+$ rm -i ∼/unixbook/final/ch??.prn
+```
+
+```bash
+$ rm -f ∼/unixbook/final/*.o
+```
+
+```bash
+$ rm -f ∼/courses/ece446/lab[1-6].[cC]
+```
+
+```bash
+$ rm -r ∼/NotNeededDirectory
+```
+
+```bash
+$ rm -rf ∼/NotNeededDirectory
+```
+
+```bash
+$ rm -ri ∼/NotNeededDirectory
+```
+
## Enter a C program that reads a temperature in Celsius entered from a keyboard and displays the corresponding temperature in Fahrenheit and complete the steps below.
(Hint: Look for such a program in the textbook or online.)