• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

ctrlaltdel Command Examples in Linux

by Deepika

The ctrlaltdel command is a utility in Linux that is used to send the “Control-Alt-Delete” key combination to the system. This key combination is used to reboot or shut down the system, depending on the system configuration.

To use the ctrlaltdel command, you will need to run it as the root user or with superuser privileges. This can be done by using the sudo command. For example, to reboot the system immediately without any preparation using the ctrlaltdel command, you can use the following command:

# sudo ctrlaltdel hard

This will send the “Control-Alt-Delete” key combination to the system, which will cause it to reboot.

ctrlaltdel Command Examples

1. Get current setting:

# ctrlaltdel

2. Set CTRL+ALT+DEL to reboot immediately, without any preparation:

# sudo ctrlaltdel hard

3. Set CTRL+ALT+DEL to reboot “normally”, giving processes a chance to exit first (send SIGINT to PID1):

# sudo ctrlaltdel soft

Filed Under: Linux

Some more articles you might also be interested in …

  1. kscreen-console: command not found
  2. pacaur Command Examples in Linux
  3. git diff: Show changes to tracked files
  4. sudo: command not found
  5. calibre-server: A server application that can be used to distribute e-books over a network
  6. A little trick: select a random file or line in the file with shuf
  7. mkfs.fat: command not found
  8. losetup Command Examples in Linux
  9. atuin – Store your shell history in a searchable database (Command Examples)
  10. f5fpc Command Examples

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright