Hour 6

1: Identify the file type of each of the files given above.
A1: The file types of these files are
/dev/rdsk/c0t1d0character special file
/etc/passwdregular file
/usr/localdirectory
/usr/sbin/pingregular file
2: Identify the owner and group of each of the files given above.
A2: The owner and groups of these files are
/dev/rdsk/c0t1d0owner bingroup sys
/etc/passwdowner rootgroup sys
/usr/localowner bingroup bin
/usr/sbin/pingowner rootgroup bin
3: Describe the permissions for the owner, group, and all “other” users for each of the files given above.
A3: The permissions of these files are
/dev/rdsk/c0t1d0owner read and write
 group read
 other none
/etc/passwdowner read
 group read
 other read
/usr/localowner read, write, and execute
 group read, write, and ...

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.