Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 12 pages
Exam (elaborations)

RHCSA - part 1 UPDATED ACTUAL Exam Questions and CORRECT Answers

Document preview thumbnail
Preview 2 out of 12 pages

RHCSA - part 1 UPDATED ACTUAL Exam Questions and CORRECT Answers Line at the beginning of bash files - CORRECT ANSWER - #!/bin/bash Character to search at the beginning of the line - CORRECT ANSWER - ^ Character to search at the end of the line - CORRECT ANSWER - $

Content preview

RHCSA - part 1 UPDATED ACTUAL Exam
Questions and CORRECT Answers
Line at the beginning of bash files - CORRECT ANSWER - #!/bin/bash



Character to search at the beginning of the line - CORRECT ANSWER -^



Character to search at the end of the line - CORRECT ANSWER -$


Character to match any single character (with the exception of the newline character) -
CORRECT ANSWER -.



Character to match zero or more of the previous expression - CORRECT ANSWER -*



Character to match the previous expression one of more times - CORRECT ANSWER -+



The flag in the grep command that ignores commented lines - CORRECT ANSWER - -v


What does this regular expression search?

c.\{2\}t - CORRECT ANSWER - any word beginning with a c, followed by exactly any
two characters, and ending with a t


(i.e coat, cart)


Command to get an overview of pending jobs for the current user - CORRECT
ANSWER - atq
(OR at -l)

, Command to remove jobs - CORRECT ANSWER - atrm JOBNUMBER


Command to inspect commands that will run when a job is executed - CORRECT
ANSWER - at -c JOBNUMBER



Command used to manage jobs - CORRECT ANSWER - crontab



Command to list the jobs for the current user - CORRECT ANSWER - crontab -l



Command to remove all jobs for the current user - CORRECT ANSWER - crontab -r



Command to edit jobs for the current user - CORRECT ANSWER - crontab -e


Command to remove all jobs, and replace with the jobs read from filename. (If no file is
specified, stdin is used.) - CORRECT ANSWER - crontab FILENAME



Order of fields in crontab file - CORRECT ANSWER - minutes (0-59), hours (0-23), day
of month (1-31), month (1-12), day of week (0-6), command


Character to specify "Do not care"/always in crontab file - CORRECT ANSWER -*



How to indicate an interval of x in the crontab file - CORRECT ANSWER - */x


(i.e */7 in the minutes column will run every 7 minutes)


What two locations are recurring system jobs defined? - CORRECT ANSWER -
/etc/crontab
/etc/cron.d

Document information

Uploaded on
December 13, 2024
Number of pages
12
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
MGRADES
3.8
(249)
Sold
1494
Followers
106
Items
106850
Last sold
7 hours ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions