summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.)