Shutdown Linux Server, Poweroff Centos server | Linux Tip and Tricks 2020

Published: 16 April 2020
on channel: Linux Teaching House
491
1

950K Subscribers . 580K Views

Welcome to the Video- "How to shutdown linux server,
In this video you'll learn-
How to Shutdown Linux Server
How to Poweroff centos linux server

Centos5, Cenots 6, Centos 8 and Redhat


How to shutdown Centos 7 Server description
To shut down a CentOS 7 server, you can use the systemctl command to initiate the shutdown process:

Open a terminal window or log in to the server using SSH.

Type the following command:

sudo systemctl poweroff

This will initiate the shutdown process and power off the server.

If you want to schedule the shutdown for a specific time, you can use the shutdown command with the -h option and the time in the following format: hh:mm.

For example, to shut down the server at 10:30 PM, you can use the following command:

sudo shutdown -h 22:30

This will schedule the shutdown for 10:30 PM.

Note that you need to have root privileges or sudo access to run the systemctl or shutdown command. If you don't have the necessary permissions, you will get an error message.

Keep watching my videos
Please Subscribe and click the notification bell so you never miss a video
Thank You For Watching
#LinuxTipsandTricks2020 #LinuxServer #LinuxTeachingHouse