RHEL7: Boot, reboot, and shut down a system normally.

Share this link

Note: This is an RHCSA 7 exam objective.

Prerequisites

Switch on a physical server or a virtual machine (in this case, type: # virsh start vm).
Connect to the console.

Basic Management

To reboot the system, choose one command among these:

# reboot
# systemctl reboot
# shutdown -r now
# init 6
# telinit 6

To shutdown the system, choose one command among these:

# halt
# systemctl halt
# shutdown -h now
# init 0
# telinit 0

To switch off the system, choose one command among these:

# poweroff
# systemctl poweroff

Advanced Management

To suspend the system, type:

# systemctl suspend

To put the system into hibernation, type:

# systemctl hibernate

To put the system into hibernation and suspend it, type:

# systemctl hybrid-sleep

Additional Resources

Bob Cromwell provides some very interesting pages about Linux kernel details and the Linux boot process.

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

Leave a Reply

9 Comments on "RHEL7: Boot, reboot, and shut down a system normally."

Notify of
Sort by:   newest | oldest
algorisms
Member
algorisms

These also will work:

telinit 0 #shutdown
telinit 6 #reboot

reaz_mahmood
Member
reaz_mahmood

So I have used the systemctl halt command, it halted the system. Now, how do I get back to normal operations from here ? (I am on a virtual machine.)

wpDiscuz

RHCSA7: Task of the day

Allowed time: 10 minutes.
Create an EXT4 file system mounted under /vol based on a logical volume of 100MB.
Reduce the size to 60MB.

RHCE7: Task of the day

Allowed time: 10 minutes.
Set up a default secure MariaDB database called maria and back up the database with mysqldump.

Poll for favorite RHEL 7 book

What is your favorite RHEL 7 book to prepare RHCSA & RHCE exams?

View Results

Loading ... Loading ...

Poll for most difficult RHCSA 7 topic

What do you think is the most difficult RHCSA 7 topic?

View Results

Loading ... Loading ...

Poll for most difficult RHCE 7 topic

What do you think is the most difficult RHCE 7 topic?

View Results

Loading ... Loading ...