100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
RHCSA, EX200, Red Hat Certified Systems Admin Questions & Answers Highly Rated $12.49   Add to cart

Exam (elaborations)

RHCSA, EX200, Red Hat Certified Systems Admin Questions & Answers Highly Rated

 2 views  0 purchase
  • Course
  • RHCSA,
  • Institution
  • RHCSA,

how to redirect errors to a file? - ANSWERScommand 2> <$filename> 2> will over write the file and 2>> will append how to redirect both standard error and output to a file and have no outputs show on screen? - ANSWERS&> how to redirect standard error into standard output?...

[Show more]

Preview 2 out of 9  pages

  • October 1, 2024
  • 9
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • rhcsa ex200 stuvia
  • RHCSA,
  • RHCSA,
avatar-seller
Brilliantscores1
RHCSA, EX200, Red Hat Certified Systems
Admin Questions & Answers Highly Rated
how to redirect errors to a file? - ANSWERScommand 2> <$filename>
2> will over write the file and 2>> will append

how to redirect both standard error and output to a file and have no outputs show on
screen? - ANSWERS&>

how to redirect standard error into standard output? - ANSWERS2 > &1

how to grep opposites? - ANSWERSgrep -v

select all that do not start with l,i,n,u,x - ANSWERSgrep -v '[^linux]'
returns everything not beginning with the letters: l, i, n, u, x

what does ? mean in regex - ANSWERScharacter before is optional

what does + mean in regex - ANSWERSpreceding item is matched 1 or more times

what is scp? - ANSWERSsecure copy protocol. do it over ssh. encrypted. old way to
transfer. can send commands to the other server.

what is sftp? - ANSWERSsecure file transfer protocol. or ssh file transfer protocol. can
connect and live inside the other server.
can type get <$filename> to get copy the files back

what is tar -cvf - ANSWERScreate, verbose, use this archive name.

how to see files in archive - ANSWERStar -tf

what does tar -xzvf do - ANSWERSeXtract gZip Verbosely Filename

star command. archive utility. not default. need to yum install. - ANSWERSbig data sets
and files.

what is apropos and mandb - ANSWERSapropos searches the titles of man pages for
this key.
man page is not indexed and cached so we need to run mandb and it'll be recorded.

how to see all the commands if stuck - ANSWERSinfo coreutils

, how to yum install the locate command? - ANSWERSyum install mlocate make sure to
updatedb

how to find stuff - ANSWERSrpm -qd <$packageName>
whereis
which
man
info
things are in /usr/share/doc
/usr/share/info
/usr/share/man

locate and find - ANSWERSpackage is mlocate. install httpd also.
updatedb.
find /etc -name motd
find /etc -user <$name>
find / -mtime -3
find / -mtime +3
find / -uid <$uid>
find / -user jeff - type f
find /home/ -user jeff -type f -exec rm {} \;
useful for finding mass compromised files.

how to gain access to a system - ANSWERSinterrupt the boot process to change the
root password on a system.
need physical access to the machine.
reboot
hit any key to interrupt the boot.
select a kernel
hit e to edit the grub config.
grub menu loads local kernel in the memory. needs to be mounted. attached future disk
root drive. nitramfs. initramfs. go to debug shell and code in memory.
linux16 line. end command. type in rd.break. ctrl x
goes into initram debug shell.
go in /sysroot or /root.
/sysroot will be mounted as /root
/sysroot is read only.
mount -oremount,rw /sysroot
chroot /sysroot
passwd
make new passwd.
touch /.autorelabel
exit
exit
system will reboot. we go into root now.

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

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

79064 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
$12.49
  • (0)
  Add to cart