summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormokha <mokha@cisco.com>2019-05-18 16:15:01 -0600
committermokha <mokha@cisco.com>2019-05-18 16:15:01 -0600
commit6e47f09ec68d1600ba26527f0c17175c207dfa69 (patch)
treebaa14f7a1980c463d609fc8911939021ef4912fb /README.md
parent382b28eb015fedfeb316510367119ea1c126e70a (diff)
complete chapter 7.17 exercise
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 2791324..01db593 100644
--- a/README.md
+++ b/README.md
@@ -103,8 +103,18 @@ cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T;
stop = ^S; susp = ^Z; time = 0; werase = ^W;
```
+
17. Give a command line to display the types of all the files in your ∼/unix directory that start with the word chapter, are followed by a digit 1, 2, 6, 8, or 9, and end with .eps or .prn.
+```bash
+cd ~/unix && ls . | grep -e 'chapter[12689]\.[eps|prn]' | xargs file
+chapter1.eps: empty
+chapter1.prn: empty
+chapter2.eps: empty
+chapter6.eps: empty
+chapter8.eps: empty
+chapter9.eps: empty
+```
2. Solve problems 7–17 at the end of Chapter 8.