Use ls –l (Sobell, page 98) to display the permissions of the file you just cre- ated. Who owns the file? To which group does it belong? Which permissions does the owner of the file have? The group? Others?

What will be an ideal response?


$ ls -l dog
-rw-r--r-- 1 max max 0 2012-10-15 12:20 dog
Based on the output of ls shown above, the owner of the file has read and
write permissions while the group and others have only read permission.
Max owns the file and the file belongs to the max group. Your group and
others permissions may be different.

Computer Science & Information Technology

You might also like to view...

What does the following function do?

``` int fun (string a, int k) { char blank = ' '; bool looking = true; while (k >= 0 && looking) if (a[k] == blank) --k; else looking = false; if (looking) return -1; else return k; } ``` a. Finds the subscript of the first nonblank character in array a. b.Finds the subscript of the last nonblank character in array a. c. Counts the number of nonblank characters in array a. d. Finds the subscript of the first blank in array a. e. Finds the subscript of the last blank in array a.

Computer Science & Information Technology

The equal sign in a logical function indicates that the values of two cells must match to be TRUE

Indicate whether the statement is true or false

Computer Science & Information Technology

When you configure software restriction policies in Group policy, you can control executables, DLL files, scripts, and Windows Installer files, and you can control each file type separately

Indicate whether the statement is true or false

Computer Science & Information Technology

COGNITIVE ASSESSMENT What is the usual rate of speed for the platters in a hard disk?

A. 2,000 to 4,000 rpm B. 5,400 to 15,000 rpm C. 12,000 to 25,000 rpm D. 24,500 to 36,000 rpm

Computer Science & Information Technology