How Do I Shutdown Another Computer Using Ubuntu Terminal?
Contents

From your local computer enter the command ssh [email protected] , log in with your password, and enter sudo shutdown -h now for an immediate shutdown, or sudo shutdown -r now for a restart.

How do you shutdown all computers on a network in Linux?

Now that you know the basic commands, you can use CMD to take control of your remote PC and shut it down whenever you want.

  1. Open Run Window by pressing Windows Key and R together.
  2. Type CMD to open Command Prompt.
  3. Type shutdown -m \computername.

How do I control another computer using terminal?

After you set up remote access, you can use another computer’s Command Prompt program to connect to your computer. Press the Windows key+r together to bring up Run, type “cmd” in the field, and press Enter. The command for the Remote Desktop connection app is “mstsc,” which you use to launch the program.

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest