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️...
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
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
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
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
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.