From 5a2913e7e7fa2ea2db99110cd965dc06f5f6b0db Mon Sep 17 00:00:00 2001 From: mo Date: Wed, 22 May 2019 21:10:59 -0600 Subject: add chapter 9 questions --- README.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) 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.) -- cgit v1.2.3