100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
RHCSA Practice Questions and Answers (100% Correct) $12.49   Add to cart

Exam (elaborations)

RHCSA Practice Questions and Answers (100% Correct)

 4 views  0 purchase
  • Course
  • RHCSA
  • Institution
  • RHCSA

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️...

[Show more]

Preview 3 out of 30  pages

  • August 28, 2024
  • 30
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • RHCSA
  • RHCSA
avatar-seller
SophiaBennett
©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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller SophiaBennett. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $12.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

72042 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$12.49
  • (0)
  Add to cart