100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
RHCSA Exam Study Questions with 100% Correct Answers |Verified Latest Update R236,44   Add to cart

Exam (elaborations)

RHCSA Exam Study Questions with 100% Correct Answers |Verified Latest Update

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

RHCSA Exam Study Questions with 100% Correct Answers |Verified Latest Update

Preview 3 out of 25  pages

  • October 9, 2024
  • 25
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • RHCSA
  • RHCSA
avatar-seller
RHCSA Exam Study Questions with 100% Correct
Answers |Verified Latest Update
A user has created a script with the name myscript. He tries to run it using the command
**myscript**, but it is not started. The user has verified that the script permissions are set as
executable. Which of the following is the most likely explanation?
a. An internal command is preventing the startup of the script
b. Users are not allowed to run scripts
c. The directory that contains the script is not in the PATH

d. The script does not have appropiate permissions - ✔✔The directory that contains the
script is not in the PATH


You need the output of the command ls to be used as input for the less command. Which of the
following examples will do that for you?
a. ls > less
b. ls >> less
c. ls >| less

d. ls | less - ✔✔ls | less


A user wants to remove her complete history. Which of the following approaches would do
that?
a. Remove the ~/.bash_history file and type history -c.
b. Type history -c.
c. Remove the ~/.bash_history file.

d. Type history -c and close the current shell. - ✔✔Remove the ~/.bash_history file and type
history -c.


Which of the following is not a valid method to repeat a command from history?
a. Press Ctrl-r and start typing a part of the command.

,b. Type ! followed by the first letters in the command.
c. Type ! followed by the number of the command as listed in history.

d. Press Ctrl-x followed by the number in history. - ✔✔Press Ctrl-x followed by the number
in history.


For which of the following items can Bash completion be used?
a. Commands
b. Files
c. Variables

d. All of the above - ✔✔All of the above


Which of the following commands enables you to replace every occurrence of old with new in a
text file that is opened with vi?
a. :%s/old/new/g
b. :%r/old/new/
c. :s/old/new/g

d. r:/old/new - ✔✔:%s/old/new/g


Which approach works best if during the login process you want to show a message to all users
who have just logged in to a shell session on your server?
a. Put the message in /etc/issue.
b. Put the message in /etc/motd.
c. Put the message in /etc/profile.

d. Put the message in /etc/bashrc. - ✔✔Put the message in /etc/motd.


You are using man -k user, but you get the message "nothing appropriate." Which of the
following solutions is most likely to fix this for you?
a. Type updatedb to update the mandb database.

, b. Type makewhatis to update the mandb database.
c. Type mandb to update the mandb database.

d. Use man -K, not man -k. - ✔✔Type mandb to update the mandb database.


Under which directory would you expect to find nonessential program files?
a. /boot
b. /bin
c. /sbin

d. /usr - ✔✔/usr


Under which directory would you expect to find log files?
a. /proc
b. /run
c. /var

d. /usr - ✔✔/var


Which of the following directories would typically not be mounted on its own dedicated device?
a. /etc
b. /boot
c. /home

d. /usr - ✔✔/etc


Which of the following commands would give the most accurate overview of mounted disk
devices (without showing much information about mounted system devices as well)?
a. mount
b. mount -a
c. df -hT

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 EFT, 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 this summary from?

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

Will I be stuck with a subscription?

No, you only buy this summary for R236,44. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

85651 documents were sold in the last 30 days

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

Start selling
R236,44
  • (0)
  Buy now