To verify the shell change for a user, you can check the /etc/passwd file using the following command:
sudo grep -w 'joker' /etc/passwd
This command will display the entry for the user 'joker'. At the end of the line, you should see the path of the shell. If the shell has been changed successfully, it should show /bin/bash.
