RHCSA, EX200, Red Hat Certified
Systems Admin Exam 2025 Questions
and Answers
how to redirect errors to a file? - --CORRECT ANSWER--command 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? - --CORRECT ANSWER--&>
how to redirect standard error into standard output? - --CORRECT ANSWER--2
> &1
how to grep opposites? - --CORRECT ANSWER--grep -v
select all that do not start with l,i,n,u,x - --CORRECT ANSWER--grep -v '[^linux]'
returns everything not beginning with the letters: l, i, n, u, x
what does ? mean in regex - --CORRECT ANSWER--character before is optional
what does + mean in regex - --CORRECT ANSWER--preceding item is matched
1 or more times
....COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 1
,what is scp? - --CORRECT ANSWER--secure copy protocol. do it over ssh.
encrypted. old way to transfer. can send commands to the other server.
what is sftp? - --CORRECT ANSWER--secure 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 - --CORRECT ANSWER--create, verbose, use this archive name.
how to see files in archive - --CORRECT ANSWER--tar -tf
what does tar -xzvf do - --CORRECT ANSWER--eXtract gZip Verbosely
Filename
star command. archive utility. not default. need to yum install. - --CORRECT
ANSWER--big data sets and files.
what is apropos and mandb - --CORRECT ANSWER--apropos 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 - --CORRECT ANSWER--info coreutils
how to yum install the locate command? - --CORRECT ANSWER--yum install
mlocate make sure to updatedb
how to find stuff - --CORRECT ANSWER--rpm -qd <$packageName>
....COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 2
, whereis
which
man
info
things are in /usr/share/doc
/usr/share/info
/usr/share/man
locate and find - --CORRECT ANSWER--package 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.
....COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 3
Systems Admin Exam 2025 Questions
and Answers
how to redirect errors to a file? - --CORRECT ANSWER--command 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? - --CORRECT ANSWER--&>
how to redirect standard error into standard output? - --CORRECT ANSWER--2
> &1
how to grep opposites? - --CORRECT ANSWER--grep -v
select all that do not start with l,i,n,u,x - --CORRECT ANSWER--grep -v '[^linux]'
returns everything not beginning with the letters: l, i, n, u, x
what does ? mean in regex - --CORRECT ANSWER--character before is optional
what does + mean in regex - --CORRECT ANSWER--preceding item is matched
1 or more times
....COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 1
,what is scp? - --CORRECT ANSWER--secure copy protocol. do it over ssh.
encrypted. old way to transfer. can send commands to the other server.
what is sftp? - --CORRECT ANSWER--secure 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 - --CORRECT ANSWER--create, verbose, use this archive name.
how to see files in archive - --CORRECT ANSWER--tar -tf
what does tar -xzvf do - --CORRECT ANSWER--eXtract gZip Verbosely
Filename
star command. archive utility. not default. need to yum install. - --CORRECT
ANSWER--big data sets and files.
what is apropos and mandb - --CORRECT ANSWER--apropos 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 - --CORRECT ANSWER--info coreutils
how to yum install the locate command? - --CORRECT ANSWER--yum install
mlocate make sure to updatedb
how to find stuff - --CORRECT ANSWER--rpm -qd <$packageName>
....COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 2
, whereis
which
man
info
things are in /usr/share/doc
/usr/share/info
/usr/share/man
locate and find - --CORRECT ANSWER--package 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.
....COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 3