Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien 4,6 TrustPilot
logo-home
Examen

RHCSA Exam Study Guide with Complete Solutions | New Update

Note
-
Vendu
-
Pages
17
Grade
A+
Publié le
28-08-2024
Écrit en
2024/2025

RHCSA Exam Study Guide with Complete Solutions | New Update systemctl list-units --type=target - Answer️️ -View all active targets on the system. systemctl list-units --type=target --all - Answer️️ -View all targets installed on the disk. systemctl get-default - Answer️️ -Display the current default target. systemctl list-units --type=target | grep t - Answer️️ - check if multi-user target is available systemctl set-default t - Answer️️ -Change the default target to the multi-user target systemctl -t help - Answer️️ -View all available systemd configuration units. systemctl status ce - Answer️️ -Find the status of the sshd service. systemctl list-units --type=service - Answer️️ -List all active service unit configuration files. systemctl is-active httpd - Answer️️ -Determine if the httpd service is active. ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM 2 systemctl is-enabled httpd - Answer️️ -Determine if the httpd service is enabled systemctl list-unit-files --type=service --all - Answer️️ -View enabled and disabled settings for all units of the type "service" systemctl list-units --type=service --all - Answer️️ -List all service unit configuration files, whether they are active or not =t - Answer️️ -Change the Boot Target shutdown +5 shutdown messages goes here - Answer️️ -Using the shutdown command, schedule a shutdown for five minutes from now and notify all users on the system of the shutdown shutdown -r now - Answer️️ -Using the shutdown command, reboot the machine immediately without delay. systemctl halt - Answer️️ -Using systemctl, shutdown the system. shutdown 01:00 - Answer️️ -Schedule the system for a shutdown at 1:00 A.M. in the morning. shutdown -c - Answer️️ -Cancel the scheduled shutdown. systemctl reboot - Answer️️ -Using systemctl, reboot the the system. systemctl halt systemctl poweroff shutdown -P ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM 3 init 0 - Answer️️ -Using any method of your choice, power off the system. pkill -t pts/0 - Answer️️ -kill all of the "user" user's processes pgrep -u user pkill -u user ssh - Answer️️ -Find all running processes left, which should either be Bash or SSH and kill it nice -n -20 httpd - Answer️️ -Start the httpd service with the most favorable nice possible. ps axo pid,comm,nice | grep httpd ps axo pid,comm,nice --sort=-nice | grep httpd - Answer️️ -View the current nice of the httpd service using the ps command and grep

Montrer plus Lire moins
Établissement
RHCSA
Cours
RHCSA

Aperçu du contenu

©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM


RHCSA Exam Study Guide with
Complete Solutions | New Update

systemctl list-units --type=target - Answer✔️✔️-View all active targets on the
system.

systemctl list-units --type=target --all - Answer✔️✔️-View all targets
installed on the disk.

systemctl get-default - Answer✔️✔️-Display the current default target.

systemctl list-units --type=target | grep multi-user.target - Answer✔️✔️-
check if multi-user target is available

systemctl set-default multi-user.target - Answer✔️✔️-Change the default
target to the multi-user target

systemctl -t help - Answer✔️✔️-View all available systemd configuration
units.

systemctl status sshd.service - Answer✔️✔️-Find the status of the sshd
service.

systemctl list-units --type=service - Answer✔️✔️-List all active service unit
configuration files.

systemctl is-active httpd - Answer✔️✔️-Determine if the httpd service is
active.




1

, ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM

systemctl is-enabled httpd - Answer✔️✔️-Determine if the httpd service is
enabled

systemctl list-unit-files --type=service --all - Answer✔️✔️-View enabled and
disabled settings for all units of the type "service"

systemctl list-units --type=service --all - Answer✔️✔️-List all service unit
configuration files, whether they are active or not

systemd.unit=rescue.target - Answer✔️✔️-Change the Boot Target

shutdown +5 shutdown messages goes here - Answer✔️✔️-Using the
shutdown command, schedule a shutdown for five minutes from now and
notify all users on the system of the shutdown

shutdown -r now - Answer✔️✔️-Using the shutdown command, reboot the
machine immediately without delay.

systemctl halt - Answer✔️✔️-Using systemctl, shutdown the system.

shutdown 01:00 - Answer✔️✔️-Schedule the system for a shutdown at 1:00
A.M. in the morning.

shutdown -c - Answer✔️✔️-Cancel the scheduled shutdown.

systemctl reboot - Answer✔️✔️-Using systemctl, reboot the the system.

systemctl halt

systemctl poweroff

shutdown -P



2

, ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM

init 0 - Answer✔️✔️-Using any method of your choice, power off the system.

pkill -t pts/0 - Answer✔️✔️-kill all of the "user" user's processes

pgrep -u user

pkill -u user ssh - Answer✔️✔️-Find all running processes left, which should
either be Bash or SSH and kill it

nice -n -20 httpd - Answer✔️✔️-Start the httpd service with the most
favorable nice possible.

ps axo pid,comm,nice | grep httpd

ps axo pid,comm,nice --sort=-nice | grep httpd - Answer✔️✔️-View the
current nice of the httpd service using the ps command and grep command
together.

renice -n 0 $(pgrep httpd) - Answer✔️✔️-Renice all httpd processes and set
the nice level to 0

uptime - Answer✔️✔️-View the system uptime and load average.

w - Answer✔️✔️-View the system uptime and load average in such a way
that it also shows what users are logged in to the system and what the user
is doing.

grep "model name" /proc/cpuinfo | wc -l - Answer✔️✔️-Using the proc file
system and wc, display the number of processors your system has. This is
important to calculate the load average of the system.

grep "model name" /proc/cpuinfo | wc -l


3

École, étude et sujet

Établissement
RHCSA
Cours
RHCSA

Infos sur le Document

Publié le
28 août 2024
Nombre de pages
17
Écrit en
2024/2025
Type
Examen
Contient
Questions et réponses

Sujets

Faites connaissance avec le vendeur

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
SophiaBennett Howard Community College
Voir profil
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
140
Membre depuis
1 année
Nombre de followers
5
Documents
9098
Dernière vente
2 semaines de cela
EXAM GAME-CHANGER

Exam Questions and Answers Section : Study Like a Pro, Study Smart, Study with Sophia.

3.7

26 revues

5
10
4
5
3
7
2
1
1
3

Documents populaires

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions