RHCSA Questions and Answers
(100% Pass)
What two commands can be used to manage password properties
✓ passwd
chage
What chmod option need to be used to add delete only files they own
✓ o+t
What command is use to create symlinks between files
✓ ln
Command to create tar files
✓ tar
What command is used to create a log entry
✓ logger
What command is used to modify the timezone
Master01 | October, 2024/2025 | Latest update
, 1 | P a g e | © copyright 2024/2025 | Grade A+
✓ timedatectl
What two commands can be used to modify the network settings
✓ nmcli
nmtui
What command modifies the hostname
✓ hostnamectl
If it asks to create a caonical hostname that means it wants you to add the
hostname to what
✓ /etc/hosts
How do you format the option on date to modify the format of the output
✓ date +<format option>
Ex: date +%R
What command lets you see the type of file a file is
Master01 | October, 2024/2025 | Latest update
, 1 | P a g e | © copyright 2024/2025 | Grade A+
✓ file
How do you run a command again from history by its number entry in history
✓ !<number>
Ex: !45
How do you format the touch command to create multiple files with an array
of options. Explain both a list and a range.
✓ touch folder{1,2}_file{1..5}
How do you cd back to a directory you were just in
✓ cd -
What option can you use to make a man page output to postscript
✓ -t
Ex: man -t passwd > passwd.ps
What shortcut do you use to enter the visual mode of vim
Master01 | October, 2024/2025 | Latest update
, 1 | P a g e | © copyright 2024/2025 | Grade A+
✓ v
What file can be modified to set the default password policy settings for new
users
✓ /etc/login.defs
When making custom sudoers modifications where should you place these?
✓ /etc/sudoers.d/<file>
What command will list the cpu details
✓ lscpu
How do you send a command to be a job
✓ Add a & at the end
What command do you use with top to save the current configuration as
default for the user
✓ W (capital)
Command to suspend, kill, etc a process
Master01 | October, 2024/2025 | Latest update