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