Exercise: Quizz

12 - What would be the result of the following command? grep /bin/bash /etc/passwd | cut -d ":" -f 1 | sort


Remove the users using the /bin/bash shell from the /etc/passwd file.
Count the number of users in the /etc/passwd file using the /bin/bash shell.
Display the list of users in the /etc/passwd file using the /bin/bash shell.
Set the /bin/sh shell for the users using the /bin/bash shell in the /etc/passwd file.