This is a UNIX Shell Scripting Question The /etc/group file defines the groups t
ID: 3815366 • Letter: T
Question
This is a UNIX Shell Scripting Question
The /etc/group file defines the groups to which users belong. Its format is as followed:
Group : password : Group ID : Group List
Group List of usernames for users who are members of the group
Password is an encrypted field and will usually show “x”
Group is the name of the group, shown in the group field of ls –l
Write a script, called activity47.sh, that displays in tabulated format the group name and usernames of group members.
PLEASE answer SPECIFICALLY in UNIX Shell Script. Do NOT answer in Java/programming language code or UNIX shell commands.
Explanation / Answer
$ ls someFile writeProtectedFile $ rm someFile $ ls writeProtectedFile $ rm writeProtectedFile rm remove write-protected regular file 'writeProtectedFile'? yes $ ls
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.