Skip to main content

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 +5 will shut down the system in 5 minutes.
  • πŸ’₯ sudo shutdown now: This command forces an immediate shutdown of the system, similar to sudo poweroff but using the shutdown command with the now option.

Linux Reboot Commands

  • πŸ”„ sudo shutdown -r: This command initiates a system restart. The -r flag specifically indicates a reboot operation.
  • πŸš€ sudo reboot: This is an alternative, simpler command to restart your Linux system, functioning the same as sudo shutdown -r.

Important Considerations

  • ⚠️ Always use sudo before these commands to ensure you have the necessary administrative privileges.
  • ⚠️ Be cautious when using shutdown now or poweroff as 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