Questions
For these three questions, refer to the following ls -l output:
crw-r----- 1 bin sys 188 0x001000 Oct 13 00:31 /dev/ rdsk/c0t1d0 -r--r--r-- 1 root sys 418 Oct 13 16:25 /etc/passwd drwxrwxrwx 10 bin bin 1024 Oct 15 20:27 /usr/local/ -r-sr-xr-x 1 root bin 28672 Nov 6 1997 /usr/sbin/ping
1: | Identify the file type of each of the files given above. |
2: | Identify the owner and group of each of the files given above. |
3: | Describe the permissions for the owner, group, and all “other” users for each of the files given above. |
Get Sams Teach Yourself Shell Programming in 24 Hours, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.