From 41f48e1640d5b3c38344ea2bbb531c3f0c02e3eb Mon Sep 17 00:00:00 2001 From: mokha Date: Sat, 18 May 2019 14:30:56 -0600 Subject: complete ch 7.10 --- README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 0885116..57360ab 100644 --- a/README.md +++ b/README.md @@ -47,10 +47,18 @@ shell: bash Password is stored in `/etc/shadow` - 9. What would happen if the last field of the line in the /etc/passwd file were replaced with /usr/bin/date? Why? - 10. What are the inode numbers of the root and your home directories on your machine? Give the commands that you used to find these inode numbers. - 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. + +The login shell would become the date command. The `date` program prints the date. This would print the date and end. + +10. What are the inode numbers of the root and your home directories on your machine? Give the commands that you used to find these inode numbers. + +```bash +ls -id / +ls -id $HOME +``` + +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. -- cgit v1.2.3