100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
RHCSA – Questions & Proper Solutions (Pass!) $17.99   Add to cart

Exam (elaborations)

RHCSA – Questions & Proper Solutions (Pass!)

 9 views  0 purchase
  • Course
  • RHCSA
  • Institution
  • RHCSA

RHCSA – Questions & Proper Solutions (Pass!)

Preview 3 out of 20  pages

  • October 24, 2024
  • 20
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • RHCSA
  • RHCSA
avatar-seller
LeCrae
RHCSA – Questions & Proper Solutions (Pass!)

What two commands can be used to manage password properties Right
Ans - passwd
chage

What chmod option need to be used to add delete only files they own Right
Ans - o+t

What command is use to create symlinks between files Right Ans - ln

Command to create tar files Right Ans - tar

What command is used to create a log entry Right Ans - logger

What command is used to modify the timezone Right Ans - timedatectl

What two commands can be used to modify the network settings Right Ans
- nmcli
nmtui

What command modifies the hostname Right Ans - hostnamectl

If it asks to create a caonical hostname that means it wants you to add the
hostname to what Right Ans - /etc/hosts

How do you format the option on date to modify the format of the output
Right Ans - date +<format option>

Ex: date +%R

What command lets you see the type of file a file is Right Ans - file

How do you run a command again from history by its number entry in history
Right Ans - !<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. Right Ans - touch
folder{1,2}_file{1..5}

How do you cd back to a directory you were just in Right Ans - cd -

What option can you use to make a man page output to postscript Right
Ans - -t

Ex: man -t passwd > passwd.ps

What shortcut do you use to enter the visual mode of vim Right Ans - v

What file can be modified to set the default password policy settings for new
users Right Ans - /etc/login.defs

When making custom sudoers modifications where should you place these?
Right Ans - /etc/sudoers.d/<file>

What command will list the cpu details Right Ans - lscpu

How do you send a command to be a job Right Ans - Add a & at the end

What command do you use with top to save the current configuration as
default for the user Right Ans - W (capital)

Command to suspend, kill, etc a process Right Ans - pkill

Command you can use to filter though logs Right Ans - journalctl

Ex: journalctl --since "30 minutes ago" --until "now"

How do you make logger write to a particular facility and priority Right
Ans - 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
Right Ans - dnf

Ex: dnf install <file name>.rpm

When using find to filter by size how would you specify below 100MB, but
above 50MB Right Ans - find / -size -100M -size +50M

The - and + can be used for size and other filter options

What is the command to update the locate database Right Ans - updatedb

Inside of a bash script how do you reference the item in a for loop Right
Ans - ${var}

What is the basic structure of a for loop in bash Right Ans - for i in array list
do

done

What command can be used to create user deferred jobs

What command do you use to list the deferred jobs Right Ans - at

atq

Ex: echo "date >> /home/student/myjob.txt" | at now +3min

What directory can you make crontab use by dropping just a script file in and
the directories control timing Right Ans - /etc/cron.hourly
/etc/cron.daily
/etc/cron.weekly
/etc/cron.montly

What command is used to adjust performing profiles of the system Right
Ans - tuned-adm

What command do you use to initialize the swap partition after the swap
filesystem is on it Right Ans - mkswap

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

Will I be stuck with a subscription?

No, you only buy these notes for $17.99. 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
$17.99
  • (0)
  Add to cart