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 2 fuera de 7 páginas
Examen

Linux Final Exam Prep. | Complete Questions & Answers (Rated 100%)

Document preview thumbnail
Vista previa 2 fuera de 7 páginas

Linux Final Exam Prep. | Complete Questions & Answers (Rated 100%) Linux Final Exam Prep. | Complete Questions & Answers (Rated 100%) Show the home directory of the current user (Don't list the contents or go there, just print the home directory path) - ANSWER - echo ~ or echo $HOME List everything in the current directory which contains a dot in its name (has some extension) - ANSWER - ls *.* Create subdirectories of the current directory named tom, dick, and harry - ANSWER - mkdir tom dick harry Create two hundred subdirectories of the current directory with the names bill100 through bill299 (No, don't write a command with 200 parameters) - ANSWER - mkdir bill{100...299} Remove every file in the system. (You might not want to actually run it) - ANSWER - rm -r / Find out the number of files stored in the directory /usr/bin - ANSWER - ls -l /usr/bin | wc Remove permission for anyone but the owner to read the file maxie, but leave other existing permissions alone - ANSWER - chmod g-r, o-r maxie Using /ext/passwd, count the number of accounts on the system which contain the string student in their password entry - ANSWER - grep student /etc/passwd | wc Assuming stuff is a sub-directory of the current directory, make sure no one (but root) can create or delete files there - ANSWER - chmod g-w, o-w stuff The types of commands are built-ins, executables, __________, and shell functions - ANSWER - aliases What is the difference between echo Hi there and echo " Hi there"? - ANSWER - Output from the first one omits most of the spaces, but the second preserves them. Which kind of expansion does NOT start with a dollar sign? - ANSWER - pathname expansion The command cat fred{1,2}{3,4,5}.txt is equivalent to - ANSWER - cat What is the | symbol used for in Unix commands? - ANSWER - to use the output of one program as the input to another


Información del documento

Subido en
9 de agosto de 2023
Número de páginas
7
Escrito en
2023/2024
Tipo
Examen
Contiene
Preguntas y respuestas
$7.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.
Vendido
619
Seguidores
338
Artículos
3731
Última venta
1 mes 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

Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.