100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
RHCSA Exam Study Guide with Complete Solutions $11.49   Add to cart

Exam (elaborations)

RHCSA Exam Study Guide with Complete Solutions

 3 views  0 purchase
  • Course
  • RHCSA
  • Institution
  • RHCSA

RHCSA Exam Study Guide with Complete Solutions break-in process - Answer️️ - inserted at the end of the line starting with "linux16" mount -o rw,remount /sysroot chroot /sysroot passwd touch /.autorelabel exit systemctl isolate t rename a file - Answer️️ -mv <original> <n...

[Show more]

Preview 3 out of 17  pages

  • August 28, 2024
  • 17
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • RHCSA
  • RHCSA
avatar-seller
SophiaBennett
©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM


RHCSA Exam Study Guide with
Complete Solutions

break-in process - Answer✔️✔️-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 - Answer✔️✔️-mv <original> <newname>

execute multiple separate commands in a single line - Answer✔️✔️-<first
command>; <second command>

brace expansion - Answer✔️✔️-touch file{1..9}

output redirection into file - Answer✔️✔️-<command> > <destination>

append output to existing file - Answer✔️✔️-<command> >> <destination>

stdout redirect - Answer✔️✔️-<command> 1> <destination>

stderr redirect - Answer✔️✔️-<command> 2> <destination>




1

, ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM

how can you tell if a user has a non-login shell? - Answer✔️✔️-
/sbin/nologin homedir location in /etc/passwd

how do you impersonate root but log your actions as your current user
account? - Answer✔️✔️-sudo -i

what command would you use to enable, restart, mask a service? -
Answer✔️✔️-systemctl

shows currently logged in users - Answer✔️✔️-w

what would you run to change password expiration policies for an
individual user? - Answer✔️✔️-chage

what would you run to move a single file from one host to another user's
homedir on a remote machine? - Answer✔️✔️-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? - Answer✔️✔️-visudo

how do you make an alias in bash? - Answer✔️✔️-alias=<command> in
.bashrc in homedir

make a directory. - Answer✔️✔️-mkdir

make an empty file. - Answer✔️✔️-touch

remove a directory and its contents recursively. - Answer✔️✔️-rm rf




2

, ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM

change a directory to be owned by a group. - Answer✔️✔️-chown
:<groupname> <directory>

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

make a file with rwxr-x-wx - Answer✔️✔️-chmod 753 <file>

change wd to root filesystem - Answer✔️✔️-cd /

make a child directory and a parent directory in a single command. -
Answer✔️✔️-mkdir -p /<parent>/<child>

add a sticky bit. - Answer✔️✔️-chmod +t <dir>

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

oh no, the network broke. add a new connection. - Answer✔️✔️-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.

show your ip address - Answer✔️✔️-ip addr

schedule an hourly job. - Answer✔️✔️-write the script and put it in
/etc/cron.hourly, then restart crond

schedule a one-time job in the future. - Answer✔️✔️-<command> | at
<timespec>




3

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

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

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