UNIX Based on the following output from $ ls -l: (10pts) $ ls -l total 68 -rwxr-
ID: 3876131 • Letter: U
Question
UNIX
Based on the following output from $ ls -l: (10pts)
$ ls -l
total 68
-rwxr-x--- 1 jporquet users 19056 2017-05-21 18:22 fs_make
-rwxr-x--- 1 jporquet users 28536 2017-05-31 15:26 fs_ref
drwxr-x--- 2 jporquet users 4096 2017-05-24 20:28 libfs
-rw------- 1 jporquet users 1436 2017-05-22 13:44 Makefile
-rw------- 1 jporquet users 5676 2017-05-21 18:23 test_fs.c
1. Is fs_make a regular fle?
2. Is libfs a regular fle?
3. May members of the group ’users’ read the fle Makefile?
4. When was fle fs_ref last modifed?
5. What does the feld 1436 mean for fle Makefile
Explanation / Answer
Answer1) Yes
Explanation) Because in ls -l output, fs_make file permissions are -rwxr-x---, and initial '-'(dash) indicates the normal file.
Answer2) No
Explanation) Because in ls -l output, libfs file permissions are drwxr-x---, and initial 'd'(dash) indicates the normal file.
Answer3) No
Explanation)Because in ls -l output, makefile permissions are -rw-------, which means only owner has read and write permissions. Neither group nor other users can read, write and execute the makefile.
Answer4) 2017-05-31 15:26
Explanation) the last modified time for a file/folder given in the ls -l output.
Answer5) 1436 is the file size. i.e. make file size is 1436kb.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.