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
Exam (elaborations)

RHCSA Practice Questions and Answers (100% Correct)

Rating
-
Sold
-
Pages
30
Grade
A+
Uploaded on
28-08-2024
Written in
2024/2025

RHCSA Practice Questions and Answers (100% Correct) What two commands can be used to manage password properties - Answer️️ -passwd chage What chmod option need to be used to add delete only files they own - Answer️️ -o+t What command is use to create symlinks between files - Answer️️ -ln Command to create tar files - Answer️️ -tar What command is used to create a log entry - Answer️️ -logger What command is used to modify the timezone - Answer️️ -timedatectl What two commands can be used to modify the network settings - Answer️️ -nmcli nmtui What command modifies the hostname - Answer️️ -hostnamectl If it asks to create a caonical hostname that means it wants you to add the hostname to what - Answer️️ -/etc/hosts How do you format the option on date to modify the format of the output - Answer️️ -date +format option ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM 2 Ex: date +%R What command lets you see the type of file a file is - Answer️️ -file How do you run a command again from history by its number entry in history - Answer️️ -!number Ex: !45 How do you format the touch command to create multiple files with an array of options. Explain both a list and a range. - Answer️️ -touch folder{1,2}_file{1..5} How do you cd back to a directory you were just in - Answer️️ -cd - What option can you use to make a man page output to postscript - Answer️️ --t Ex: man -t passwd What shortcut do you use to enter the visual mode of vim - Answer️️ -v What file can be modified to set the default password policy settings for new users - Answer️️ -/etc/ When making custom sudoers modifications where should you place these? - Answer️️ -/etc/sudoers.d/file What command will list the cpu details - Answer️️ -lscpu ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM 3 How do you send a command to be a job - Answer️️ -Add a & at the end What command do you use with top to save the current configuration as default for the user - Answer️️ -W (capital) Command to suspend, kill, etc a process - Answer️️ -pkill Command you can use to filter though logs - Answer️️ -journalctl Ex: journalctl --since "30 minutes ago" --until "now" How do you make logger write to a particular facility and priority - Answer️️ -logger -p facility..priority "Log Message" Ex: logger -p "there is an alert" Tip: -p option supports tab completion What command should you use to install a downloaded rpm file directly - Answer️️ -dnf Ex: dnf install file name.rpm When using find to filter by size how would you spe

Show more Read less
Institution
RHCSA
Course
RHCSA

Content preview

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

RHCSA Practice Questions and Answers (100% Correct)


What two commands can be used to manage password properties -
Answer✔️✔️-passwd

chage

What chmod option need to be used to add delete only files they own -
Answer✔️✔️-o+t

What command is use to create symlinks between files - Answer✔️✔️-ln

Command to create tar files - Answer✔️✔️-tar

What command is used to create a log entry - Answer✔️✔️-logger

What command is used to modify the timezone - Answer✔️✔️-timedatectl

What two commands can be used to modify the network settings -
Answer✔️✔️-nmcli

nmtui

What command modifies the hostname - Answer✔️✔️-hostnamectl

If it asks to create a caonical hostname that means it wants you to add the
hostname to what - Answer✔️✔️-/etc/hosts

How do you format the option on date to modify the format of the output -
Answer✔️✔️-date +<format option>




1

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

Ex: date +%R

What command lets you see the type of file a file is - Answer✔️✔️-file

How do you run a command again from history by its number entry in
history - Answer✔️✔️-!<number>



Ex: !45

How do you format the touch command to create multiple files with an
array of options. Explain both a list and a range. - Answer✔️✔️-touch
folder{1,2}_file{1..5}

How do you cd back to a directory you were just in - Answer✔️✔️-cd -

What option can you use to make a man page output to postscript -
Answer✔️✔️--t



Ex: man -t passwd > passwd.ps

What shortcut do you use to enter the visual mode of vim - Answer✔️✔️-v

What file can be modified to set the default password policy settings for
new users - Answer✔️✔️-/etc/login.defs

When making custom sudoers modifications where should you place
these? - Answer✔️✔️-/etc/sudoers.d/<file>

What command will list the cpu details - Answer✔️✔️-lscpu



2

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

How do you send a command to be a job - Answer✔️✔️-Add a & at the end

What command do you use with top to save the current configuration as
default for the user - Answer✔️✔️-W (capital)

Command to suspend, kill, etc a process - Answer✔️✔️-pkill

Command you can use to filter though logs - Answer✔️✔️-journalctl



Ex: journalctl --since "30 minutes ago" --until "now"

How do you make logger write to a particular facility and priority -
Answer✔️✔️-logger -p <facility>.<.priority> "Log Message"



Ex: logger -p authpriv.alert "there is an alert"



Tip: -p option supports tab completion

What command should you use to install a downloaded rpm file directly -
Answer✔️✔️-dnf



Ex: dnf install <file name>.rpm

When using find to filter by size how would you specify below 100MB, but
above 50MB - Answer✔️✔️-find / -size -100M -size +50M




3

Written for

Institution
RHCSA
Course
RHCSA

Document information

Uploaded on
August 28, 2024
Number of pages
30
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$12.99
Get access to the full document:

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


Also available in package deal

Thumbnail
Package deal
RHCSA Exam Bundle Pack with Complete Solutions | Verified and Updated
-
15 2024
$ 179.35 More info

Get to know the seller

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.
SophiaBennett Howard Community College
View profile
Follow You need to be logged in order to follow users or courses
Sold
141
Member since
1 year
Number of followers
5
Documents
9098
Last sold
5 days ago
EXAM GAME-CHANGER

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

3.7

26 reviews

5
10
4
5
3
7
2
1
1
3

Trending documents

Recently viewed by you

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

Frequently asked questions