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 9 páginas
Examen

010-160 LPI LINUX ESSENTIALS UPDATED QUESTIONS AND VERIFIED ANSWERS

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

010-160 LPI LINUX ESSENTIALS UPDATED QUESTIONS AND VERIFIED ANSWERS whereis - CORRECT ANSWERused to search for programs in restricted locations, such as binary file directories, libraries, and man directories.

Vista previa del contenido

010-160 LPI LINUX ESSENTIALS UPDATED QUESTIONS
AND VERIFIED ANSWERS
whereis - CORRECT ANSWER✅✅✅used to search for programs in restricted locations, such as binary
file directories, libraries, and man directories.



locate - CORRECT ANSWER✅✅✅Searches the system managed database of filenames for files
containing the specified string in the filenames. (Search is much faster than the search performed using
the 'find' command)



updatedb - CORRECT ANSWER✅✅✅Updates the system managed database of filenames



Displays current working directory - CORRECT ANSWER✅✅✅pwd



Change into the current user's home directory - CORRECT ANSWER✅✅✅cd ~



cd $HOME



Both of these do what



Change to the parent directory of the current directory - CORRECT ANSWER✅✅✅cd ..



Change to the etc directory in the root (/) directory - CORRECT ANSWER✅✅✅cd /etc



Creates a hard link named 'format.txt' for the file 'fmt.txt' - CORRECT ANSWER✅✅✅ln fmt.txt
format.txt



Creates a symbolic link named sym.txt of fmt.txt - CORRECT ANSWER✅✅✅ln -s fmt.txt sym.txt

, touch - CORRECT ANSWER✅✅✅Can be used to update the timestamp of a file or if that file doesn't
exist it will create a blank file with the specified name.



Will update the timestamp of the specified file if it exists. If it does not exist it will not create a blank file.
- CORRECT ANSWER✅✅✅touch -c file1.txt



Adds the content "Hey there!" to the specified file. - CORRECT ANSWER✅✅✅echo "Hey there!" >
sample.txt



cat filename.txt - CORRECT ANSWER✅✅✅Displays the contents of a file



Opens the vi editor for the file "sample". This will allow you to write text into a file. - CORRECT
ANSWER✅✅✅vi sample



Will display the "sample" file's byte count - CORRECT ANSWER✅✅✅wc -c sample



Displays the number of characters in the "sample" file - CORRECT ANSWER✅✅✅wc -m sample



Display the number of lines in the "sample" file - CORRECT ANSWER✅✅✅wc -l sample



Display the word count of the "sample" file - CORRECT ANSWER✅✅✅wc -w sample



Extracts the first field of the "/etc/passwd" file - CORRECT ANSWER✅✅✅cut -f 1 /etc/passwd



Extract the first three characters from the "/etc/passwd" file - CORRECT ANSWER✅✅✅cut -c 1, 2, 3
/etc/passwd



Extracts the third field from the "/etc/shadow" file and uses the : seperator. Since "/etc/shadow" is a :
(colon) seperated file, this command will display only the content of the third field in the file. - CORRECT
ANSWER✅✅✅cut -d ":" -f 3 /etc/shadow

Información del documento

Subido en
17 de mayo de 2025
Número de páginas
9
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$11.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.
STANGRADES
3.4
(14)
Vendido
92
Seguidores
1
Artículos
12009
Última venta
4 semanas 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