Linux Terminal Commands: Shutdown and Reboot Guide
HardReset.InfoDecember 16, 20256 min57 views
10 connectionsΒ·11 entities in this videoβOpening the Terminal
- π‘ To begin, navigate to 'Show Apps' and select 'Terminal' to open the command-line interface.
Linux Shutdown Commands
- π
sudo poweroff: This command immediately shuts down your Linux system. You'll need to enter your administrator password for it to execute. - β°
sudo shutdown +N: This command schedules a shutdown for N minutes in the future. For example,sudo shutdown +5will shut down the system in 5 minutes. - π₯
sudo shutdown now: This command forces an immediate shutdown of the system, similar tosudo poweroffbut using theshutdowncommand with thenowoption.
Linux Reboot Commands
- π
sudo shutdown -r: This command initiates a system restart. The-rflag specifically indicates a reboot operation. - π
sudo reboot: This is an alternative, simpler command to restart your Linux system, functioning the same assudo shutdown -r.
Important Considerations
- β οΈ Always use
sudobefore these commands to ensure you have the necessary administrative privileges. - β οΈ Be cautious when using
shutdown noworpoweroffas they will immediately halt all processes without further prompts. - π» These commands are particularly useful when the graphical user interface (GUI) is unavailable or when you prefer using the terminal.
Knowledge graph11 entities Β· 10 connections
How they connect
An interactive map of every person, idea, and reference from this conversation. Hover to trace connections, click to explore.
Hover Β· drag to explore
11 entities
Chapters3 moments
Key Moments
Transcript24 segments
Full Transcript
Topics9 themes
Whatβs Discussed
Linux TerminalShutdown CommandReboot Commandsudo poweroffsudo shutdownsudo rebootCommand Line InterfaceLinux DistributionsSystem Administration
Smart Objects11 Β· 10 links
ConceptsΒ· 2
ProductsΒ· 9