RHCSA Questions and Answers
(100% Pass)
break-in process
✓ 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
✓ mv <original> <newname>
execute multiple separate commands in a single line
✓ <first command>; <second command>
brace expansion
Master01 | October, 2024/2025 | Latest update
, 1 | P a g e | © copyright 2024/2025 | Grade A+
✓ touch file{1..9}
output redirection into file
✓ <command> > <destination>
append output to existing file
✓ <command> >> <destination>
stdout redirect
✓ <command> 1> <destination>
stderr redirect
✓ <command> 2> <destination>
how can you tell if a user has a non-login shell?
✓ /sbin/nologin homedir location in /etc/passwd
how do you impersonate root but log your actions as your current user
account?
Master01 | October, 2024/2025 | Latest update
, 1 | P a g e | © copyright 2024/2025 | Grade A+
✓ sudo -i
what command would you use to enable, restart, mask a service?
✓ systemctl
shows currently logged in users
✓ w
what would you run to change password expiration policies for an individual
user?
✓ chage
what would you run to move a single file from one host to another user's
homedir on a remote machine?
✓ 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?
✓ visudo
how do you make an alias in bash?
Master01 | October, 2024/2025 | Latest update