Code QuizIntermediate

Running a command as another user with sudo

Learn the correct sudo flag for executing a command as a specific target user.

Codebash
# Goal: run 'psql' as the 'postgres' user
sudo -U postgres psql

What is the bug in this command?