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

Exam (elaborations)

RHCSA Practice Test Questions and Answers All Correct

 12 views  0 purchase
  • Course
  • RHCSA
  • Institution
  • RHCSA

RHCSA Practice Test Questions and Answers All Correct What command can be used to see disk usage - Answer-du -sh <path> Ex: du -sh /etc What command can be used to see free disk space - Answer-df -h <path> Ex: df -h /etc What command do you use to create a bzip2 tar file ...

[Show more]

Preview 3 out of 16  pages

  • August 18, 2024
  • 16
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • RHCSA
  • RHCSA
avatar-seller
Scholarsstudyguide
RHCSA Practice Test Questions
and Answers All Correct

What command can be used to see disk usage - Answer-du -sh <path>

Ex: du -sh /etc

What command can be used to see free disk space - Answer-df -h <path>

Ex: df -h /etc

What command do you use to create a bzip2 tar file - Answer-tar cfj etc.tar.bz2 /etc

What tool should be used instead of scp to transfer files between systems that is more
secure - Answer-sftp

Ex: sftp pi@192.168.2.5 /home/pi

What is a more robust copy command that can be used to keep directories in sync
locally and remotely - Answer-rsync

What two command can you use to download an rpm from a repo - Answer-
yumdownloader <package name>
dnf download <package name>

Ex: yumdownloader nmap
Ex: dnf download nmap

What does RPM stand for - Answer-Red Hat package management

What command utility can manage what DNS servers are being used - Answer-nmcli

What two commands can you use to resolve a DNS record - Answer-dig <hostname>
getent hosts <hostname>

If you want to look up what rpm a file came from on a system you need to use what
command and option - Answer-rpm -qf /usr/bin/bzip2
bzip2-1.0.8-8.el9.x86_64

-q = quiet
-f = file

,What package does the bzip2 command come from - Answer-bzip2

What command do you use to list the available rpms that can be installed using wildcard
searching - Answer-dnf list 'keyword*'

Ex: dnf list 'bzip*'

If you want to search for a keyword in a package name you can use what command -
Answer-dnf search 'bzip'

What command and option lets you see the history of previous dnf command that were
ran - Answer-dnf history

If you wanted to perform the opposite action of a dnf command in its history you can use
what command and what option - Answer-dnf history undo <#>

Ex: dnf history undo 10

What command do you use to disable a repo - Answer-dnf config-manager --disable
<repo name>

Ex: dnf config-manager --disable rht-updates

What systemd unit does the Web Console run under - Answer-cockpit.socket

What command can be used to gather info that can then be uploaded to Red Hat
suppot portal to get support - Answer-sos

What tool does Red Hat offer to assess the environment proactively and identify threats.
What command and option do you use to enable it. - Answer-Insights client

insights-client --register

What are the two main directories where binary files are placed and what is the
difference - Answer-/usr/local/bin
/usr/local/sbin - s in sbin means system administration

What is the if statement structure in bash - Answer-if [ check condition = value ]
then
else
fi

How do you reference a variable in bash inside of double quotes - Answer-
"${var_name}"

, How do you resolve a command in bash that is inside of double quotes - Answer-"$(
command )"

What is the structure for a for loop in bash - Answer-for i in array
do command $i
done

What manual has details about the comparison operators of bash - Answer-man test

What command and option will list the crontab setup for a user - Answer-crontab -l

What command and option will let you edit a user's crontab file - Answer-crontab -e

What many fields does crontab has under a user profile and the root one located at
/etc/crontab? What is the different field? - Answer-user profile - 6
root - 7

username

What directory does user crontabs get placed in? - Answer-/var/spool/cron

If not using a set time folder for crontab's for the root user you should put the crontab
files in what directory - Answer-/etc/cron.d/

What manual has details about temp file cleanup scripts - Answer-man tmpfiles.d

What service is used for cleaning up temp files - Answer-systemd-tmpfiles-setup.service

What is the priority range of nice for a process. Which is the highest priority and which is
the lowest - Answer--20 to 19

-20 = Highest
19 = Lowest


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

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

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

67866 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.59
  • (0)
  Add to cart