Red Hat 134 Chapter 2

¡Supera tus tareas y exámenes ahora con Quizwiz!

Which two steps must be performed to update systemd that a time unit configuration file has been modified?

-systemctl daemon-reload -systemctl enable --now <unitname>.timer

Which statements about managing temporary files are most correct (choose 3)?

-systemd-tmpfiles is used to manage temporary directories and files. -Files in the /run directory are removed when the system stops or reboots. -Temporary files may be automatically or manually cleaned.

Which crontab field is used to specify the day of the month?

3

systemd logs time events in /var/log/secure.

False

In which directory would modified timer unit configuration files be stored?

/etc/systemd/system

Match the at option with the correct description atq at -q atq atrm

-List scheduled tasks -Use the at command interactively -List pending task numbers -Remove an at task

Which statements about deferred recurring system tasks are most correct (choose 3)?

-The system job format is similar to the user format except . -Recurring system jobs may be configured in /etc/crontab -Recurring system jobs may be configured in /etc/cron.d.

Which statements about recurring user jobs are most correct (choose 3)?

-To edit a user crontab file, use the command crontab -e -To list the contents of a user crontab file, use the command crontab -l -The default output or error of a cron job is to email.

Which directory will be used by systemd-tmpfiles regardless of where file momentary.conf is located?

/etc/tmpfiles.d/

Which user crontab entry will email the output of the df command , on weekdays, at 6:55 am?

55 6 * * Mon-Fri /usr/bin/df

What statement about /etc/anacrontab is most correct.

The /etc/anacrontab file is used to insure important jobs are always executed, and not mised when the system was turned off or hibernating.

Which statement about deferred job scheduling is most correct?

The at command is used at the command line to schedule deferred tasks.

What is the purpose of the following command? while ! test -f my_first_cron_job.txt; do sleep 1s; done

The script will run until file my_first_cron_job.txt is created.


Conjuntos de estudio relacionados

Anatomy and Physiology Chapter 7

View Set

Chapter 3 - Intermediate Accounting Spiceland 9e

View Set

Pediatric Nursing HESI Remediation

View Set

Chapter 2: Learning module & Mastery activities

View Set

NSG 330 Ch 67- Management Cerebrovascular Disorders

View Set

The Superkids Take Off Chapter 19

View Set

Red Hat Product: Fundamentals Quizlet

View Set

AUBF LAB Module 3: Chemical Analysis of Urine Part 2

View Set

Unit 4 quiz Property description

View Set