100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

RHCSA Exam Study Guide with Complete Solutions

Puntuación
-
Vendido
-
Páginas
17
Grado
A+
Subido en
28-08-2024
Escrito en
2024/2025

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 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 ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM 2 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 ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM 3 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/y, then restart crond schedule a one-time job in the future. - Answer️️ -command | at timespec ©SOPHIABENNET@2024/2025 Tuesday, August 20, 2024 10:21 AM 4 did you set a password for all the users you just created? go check and see if they're encrypted. - Answer️️ -cat /etc/shadow you want to view something and search it, but not edit it on accident. - Answer️️ -less filename change my timezone. use a big text interface with a list of continents. - Answer️️ -tzselect what's the easiest way to tell if you're already using ntp? - Answer️️ - timedatectl you've got a custom ntp server to add. where do you put it? - Answe

Mostrar más Leer menos
Institución
RHCSA
Grado
RHCSA

Vista previa del contenido

©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

Escuela, estudio y materia

Institución
RHCSA
Grado
RHCSA

Información del documento

Subido en
28 de agosto de 2024
Número de páginas
17
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$11.99
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada


Documento también disponible en un lote

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
SophiaBennett Howard Community College
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
140
Miembro desde
1 año
Número de seguidores
5
Documentos
9098
Última venta
2 semanas hace
EXAM GAME-CHANGER

Exam Questions and Answers Section : Study Like a Pro, Study Smart, Study with Sophia.

3.7

26 reseñas

5
10
4
5
3
7
2
1
1
3

Documentos populares

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes