100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
RHCSA- Test Questions and Answers $13.99   Add to cart

Exam (elaborations)

RHCSA- Test Questions and Answers

 0 view  0 purchase
  • Course
  • RHCSA
  • Institution
  • RHCSA

RHCSA- Test Questions and Answers

Preview 3 out of 20  pages

  • November 12, 2024
  • 20
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • RHCSA
  • RHCSA
avatar-seller
TheeGrades
RHCSA- Test Questions and Answers

command to execute command against returned results of find Correct Ans-find / -user
$USERNAEM -type -f -exec $COMMAND




command to display all the contents of all files owned by a specified user Correct Ans-find / -
user $USERNAME -type f -exec cat {} \;




command to copy all files owned by a user to a target directory Correct Ans-find / -user
$USERNAME -type f -exec cp {} /target/dir \;




command to delete all files owned by a user in a specified directory Correct Ans-find
/specified/dir -user $USERNAME -type f -exec rm {} \;




You need to set the execute bit on the finance directory and any subdirectories it might contain,
but not on the files within them. This change must apply to all users. What methods might you
use? Correct Ans-chmod a+X -R finance




OR



chmod -R a+X finance

,Which directory contains the info files from which the info program reads? Correct Ans-
/usr/share/info




command to extract a gz tar file to a target directory Correct Ans-tar -xzvf target.tar.gz -C
/target/dir




x = extract

z = use gzip

v = verbose

f = use the target file



-C = extract to the target dir




4 common systemctl targets Correct Ans-multi-user.target = multiple users can be logged into
the system, utilizing the terminal/text based interface




graphical.target = gui



emergency.target = boots into root command prompt and mounts file system as a read only file
system




rescue.target = recovery mode, single user, text based

, command to change from graphical env to text based env Correct Ans-systemctl isolate
mutli-user.target




command to change from text-based env to gui based env Correct Ans-systemctl isolate
graphical.target




command to set default target env Correct Ans-systemctl set-default multi-user.target




command that combines two other common utils to list running processes Correct Ans-pgrep




combines ps and grep




command to show all commands running as a specified user Correct Ans-pgrep -u
$TARGETUSER -l



u = specify user

l = list the PID and process name




command that combines two other common utils to kill running processes Correct Ans-pkill

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 TheeGrades. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

80467 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
$13.99
  • (0)
  Add to cart