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

SMASHING LAB

GUIDES | LINUX | GEEKY STUFF

  • Nginx
  • Linux
  • Guide
  • Ubuntu
  • WordPress
  • Drones, My Hobby

How to Shutdown Linux System from a Terminal

By Imran Yousaf

Through the SSH terminal, it is possible to shutdown your linux server by using the specific command. Eg:

1
sudo shutdown -h now
will immediately shut down the system. If you want to shut down the computer within a set time you will use:

1
sudo shutdown -h +30
(to turn off the computer in thirty minutes)

or

1
sudo shutdown -h 3103180830
(to turn off the computer on 31-03-2018 at 08:30)

Alternatively, it is also possible to use:

1
sudo halt
or

1
sudo poweroff

Some more articles you might also be interested in …

  • How to Save the Output of the Command Terminal…
  • How to Convert JPG to PDF in Linux
  • Top 5 Linux Distributions for Programmers
  • 20 Awesome Nmap Command Examples for Linux
  • How to Avoid Accidental File Deletion in Linux
  • Crontab Examples: Running Cron Jobs in Linux
  • Simple, Reliable and Convenient Monitoring of Linux Servers
  • How To Dual Boot Linux/Ubuntu and Windows 10…
  • How to Install LAMP Stack (Linux, Apache, MySQL,…
Tweet
Pin
Share
0 Shares

Filed Under: Guide, Linux

Primary Sidebar

  • Twitter
  • Facebook
  • Google+

Recent Posts

  • How to install Nextcloud on CentOS 8
  • How to install Zabbix on openSUSE Leap 15.1
  • How to Easily Configure Your Domain’s Email Account with Gmail?
  • Tails 4.4 OS Released with Tor Browser 9.0.6
  • How to Convert JPG to PDF in Linux

Subscribe to our Newsletter

Useful articles, tips and videos about creating and promoting websites to your mail



* required field


  • Contact Us
  • Privacy Policy
  • About Us

Copyright © 2021. Smashing Lab