From e00e3e07b32fad8402d0b80842efe332e3d03a0d Mon Sep 17 00:00:00 2001 From: mo Date: Wed, 22 May 2019 21:20:11 -0600 Subject: formatting --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 29f6d7e..f8f99ea 100644 --- a/README.md +++ b/README.md @@ -54,9 +54,9 @@ Script done on Sat May 18 14:20:23 2019 See `exercises/chapter-7.8`. -9. What would happen if the last field of the line in the /etc/passwd file were replaced with /usr/bin/date? Why? +9. What would happen if the last field of the line in the `/etc/passwd` file were replaced with `/usr/bin/date`? Why? -The login shell would become the date command. The `date` program prints the date. This would print the date and end. +The login shell would become the `date` command. The `date` program prints the date. This would print the date and end. ```bash も date @@ -72,7 +72,7 @@ ls -id $HOME See `exercises/chapter-7.10`. -11. Create a directory, called memos, in your home directory. Go into this directory and create a file memo.james by using one of the editors discussed in Chapter 5. Give three pathnames for this file. +11. Create a directory, called `memos`, in your home directory. Go into this directory and create a file `memo.james` by using one of the editors discussed in Chapter 5. Give three pathnames for this file. ```bash bash-3.2$ cd @@ -122,7 +122,7 @@ cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ; 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. +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 @@ -142,7 +142,7 @@ See `exercises/chapter-7.17`. Permission bits are organized as follows: -| type | Read | Write | Execute | Read | Write | Execute | Read | Write | Execute | +| t | r | w | x | r | w | x | r | w | x | * The first bit indicates if the file is a directory or has the `setuid` bit enabled. * The following 3 bits represent the read, write, execute permissions for the user. -- cgit v1.2.3