Multiple choice

What command do you use to run a command as another user

  1. sudo

  2. su

  3. vi

  4. ps

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The sudo command allows a permitted user to execute a command as the superuser or another user. While su can also switch users, sudo is specifically designed to run a single command with elevated privileges.