FG
💻 Software

How do I restart Linux (Ubuntu) from the command-line?

Fresh5 days ago
Mar 15, 2026216515 views
Confidence Score0%
0%

Problem

Because of my problem with mouse-clicks being ignored in Ubuntu, I want to restart from the command-line. (I have an open Terminal, and the keyboard is not ignored.) How do I restart a computer running Linux (or more specifically Ubuntu) from the command-line?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I restart Linux (Ubuntu) from the command-line?

Low Risk

There's a few ways:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment