Assignment: #assessment4 Due: 11/25/02018 Points: 6

Specification

Use the following ls -li generated output to answer the questions for part 0 of this assignment.

   1315 -r--r--r--  1 joe        mgmt  1671 Feb 11 17:29 fsystem
   1415 -rwx--x--x  1 mary       peon  1596 Feb 12 03:39 index.html
   4293 -r--r--r--  1 neil       mgmt  1111 Feb 12 04:44 index.txt
   1234 drwxr-xr-x  2 jill       peon   512 Feb 19 05:00 goals
   2001 ----r---w-  2 tyler      peon  1635 Feb 14 10:14 lab0
   1957 ---x--x--x  1 jill       peon  1460 Feb 14 07:10 login.jpg
   3322 -rwxrwxrwx  1 joe        mgmt   359 Feb 20 11:07 perms
   3323 -rwxr-xr--  1 tyler      peon  2660 Feb 19 05:00 quiz0.test
   2001 ----r---w-  2 frank      peon  1635 Feb 14 10:14 suse

  1. What LOGNAME is the owner of the file named perms?
  2. What is the name of the largest regular file?
  3. What is the name of the most recently modified regular file?
  4. Which file(s) belong to the group mgmt?
  5. What LOGNAME is the owner of the only directory?
  6. Yes or No. Are any of the regular files hard-linked together?
  7. Yes or No. Can user fred read the file quiz0.test?
  8. Yes or No. Can user frank remove the file lab0 ?
  9. Yes or No. The file index.txt is a text file. Does it make sense for it to be marked executable?
  10. What is the i-node number of the file owned by user neil?
  11. Record the command-line that logname mary would use to change the permissions on file index.html to rwxrw---- [read/write/execute for owner, read/write for group, nothing for others]
  12. Record the command-line that logname jill would use to change the permissions on file login.jpg to r-x-w---x [read/execute by owner, write-only for group, execute only for others]