Ubuntu – Bash script that will validate a user's membership in a specified group
Please enter a username: student Now enter your membership: root Membership is valid! ubuntu@user:~$ ./membership.sh Please enter a username: doesnotexist Now enter your membership: alsodoesnotexist Both are not found - why are you even asking me this? ubuntu@user:~$ ./membership.sh Please…