That always worked when we were younger

Which of these Linux commands would you use to execute a command with the credentials of a different user?

A) ps

B) sudo

C) chmod

D) dd

E) apt-get

F) It’s not enough to talk with a squeaky voice

The answer: B) sudo

The sudo command is used to execute a command with superuser credentials or with the credential of any other user.

Want to know more? Watch “Basic Linux Commands.”

The command line of Linux provides a significant amount of control and management of the operating system. In this video, you’ll learn about some of the most popular Linux commands to run from the command line.