100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
RHCSA Exam: Questions With Detailed Solutions $11.99   Add to cart

Exam (elaborations)

RHCSA Exam: Questions With Detailed Solutions

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

RHCSA Exam: Questions With Detailed Solutions

Preview 2 out of 12  pages

  • October 24, 2024
  • 12
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • RHCSA
  • RHCSA
avatar-seller
LeCrae
RHCSA Exam: Questions With Detailed Solutions

Break-in process Right Ans - rd.break inserted at the end of the line
starting with "linux16"
mount -o rw,remount /sysroot
chroot /sysroot
passwd
touch /.autorelabel
exit
systemctl isolate graphical.target

Rename a file Right Ans - mv <original> <newname>

Execute multiple separate commands in a single line Right Ans - <first
command>; <second command>

Brace expansion Right Ans - touch file{1..9}

Output redirection into file Right Ans - <command> > <destination>

Append output to existing file Right Ans - <command> >> <destination>

Stdout redirect Right Ans - <command> 1> <destination>

Stderr redirect Right Ans - <command> 2> <destination>

How can you tell if a user has a non-login shell? Right Ans - /sbin/nologin
homedir location in /etc/passwd

How do you impersonate root but log your actions as your current user
account? Right Ans - sudo -i

What command would you use to enable, restart, mask a service? Right Ans
- systemctl

Shows currently logged in users Right Ans - w

What would you run to change password expiration policies for an individual
user? Right Ans - chage

, What would you run to move a single file from one host to another user's
homedir on a remote machine? Right Ans - scp <localfile>
user@remotehost:~/

You want to make sure members of the wheel group can run root commands
as themselves (not root.) where do you go? Right Ans - visudo

How do you make an alias in bash? Right Ans - alias=<command>
in .bashrc in homedir

Make a directory. Right Ans - mkdir

Make an empty file. Right Ans - touch

Remove a directory and its contents recursively. Right Ans - rm rf

Change a directory to be owned by a group. Right Ans -
chown :<groupname> <directory>

make a directory collaborative to a group with rwx for owner and group and
no access for others. Right Ans - chmod 2770 <file>

make a file with rwxr-x-wx Right Ans - chmod 753 <file>

change wd to root filesystem Right Ans - cd /

Make a child directory and a parent directory in a single command. Right
Ans - mkdir -p /<parent>/<child>

add a sticky bit. Right Ans - chmod +t <dir>

what's a sticky bit? Right Ans - users can't delete files in a directory that
they don't own.

oh no, the network broke. add a new connection. Right Ans - nmcli con and
tab your way to victory. don't forget to reload the config after specifying dns,
then enable the interface. or use nmtui. don't forget the subnet mask in either
case or it will for sure break.

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 $11.99. 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 study notes for 14 years now

Start selling
$11.99
  • (0)
  Add to cart