diff options
| author | mo <mo.khan@gmail.com> | 2019-05-22 21:20:11 -0600 |
|---|---|---|
| committer | mo <mo.khan@gmail.com> | 2019-05-22 21:20:11 -0600 |
| commit | e00e3e07b32fad8402d0b80842efe332e3d03a0d (patch) | |
| tree | 71d03924a4d23b5d2f5d714b6d4c002929095687 /README.md | |
| parent | 5bde45781d0db5dd78a733cd91e279004ac5e340 (diff) | |
formatting
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 = <undef>; 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. |
