Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 3 fuera de 20 páginas
Examen

RHCSA 2. Using essential tools Exam 2025 Questions and Answers

Document preview thumbnail
Vista previa 3 fuera de 20 páginas

RHCSA 2. Using essential tools Exam 2025 Questions and Answers

Vista previa del contenido

RHCSA 2. Using essential tools Exam
2025 Questions and Answers


B. Explanation: Answer B shows the correct syntax. The 2 redirects error

messages, and &1 makes sure that the same is done for STDOUT. - --CORRECT

ANSWER--Which of the following enables you to redirect standard output as well

as

errors to a file?




a. 1&2> file




b. 2>&1 file




c. >1&2 file




d. 1>2& file




....COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 1

,A and B. Explanation: /etc/profile is the file that is processed for all users who are

starting a login shell - --CORRECT ANSWER--You are looking for a variable that

is set in a bash login shell for all users.

Which of the following files is the most likely location where this variable is

set? (Choose two.)




a. /etc/profile




b. /etc/bashrc




c. ~/.bash_profile




d. ~/.bashrc

C. Explanation: On Linux, the current directory is not set in the PATH

variable. - --CORRECT ANSWER--A user has created a script with the name

myscript. He tries to run it using the

command myscript , but it is not started. The user has verified that the script

permissions are set as executable. Which of the following is the most likely



....COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 2

, explanation?




a. An internal command is preventing the startup of the script.




b. Users are not allowed to run scripts.




c. The directory that contains the script is not in the PATH.




d. The script does not have appropriate permissions.

D. Explanation: A pipe is used to process the output of the first command and use

it as input of the second command. - --CORRECT ANSWER--You need the

output of the command ls to be used as input for the less command.

Which of the following examples will do that for you?




a. ls > less




b. ls >> less




....COPYRIGHT ©️ 2025 ALL RIGHTS RESERVED...TRUSTED & VERIFIED 3

Información del documento

Subido en
3 de agosto de 2025
Número de páginas
20
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$12.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

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.
KatelynWhitman
3.6
(257)
Vendido
1229
Seguidores
485
Artículos
42526
Última venta
3 días hace



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