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

010-160 LPI LINUX ESSENTIALS QUESTIONS & ANSWERS

Puntuación
-
Vendido
-
Páginas
6
Grado
A+
Subido en
18-10-2024
Escrito en
2024/2025

010-160 LPI LINUX ESSENTIALS QUESTIONS & ANSWERS

Institución
LINUX ESSENTIALS
Grado
LINUX ESSENTIALS

Vista previa del contenido

010-160: LPI LINUX
ESSENTIALS
QUESTIONS &
ANSWERS
Whereis - Answers-used to search for programs in restricted locations, such as binary
file directories, libraries, and man directories.

Locate - Answers-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 - Answers-Updates the system managed database of filenames

Displays current working directory - Answers-pwd

Change into the current user's home directory - Answers-cd ~

Cd $HOME

Both of these do what

Change to the parent directory of the current directory - Answers-cd ..

Change to the etc directory in the root (/) directory - Answers-cd /etc

Creates a hard link named 'format.txt' for the file 'fmt.txt' - Answers-ln fmt.txt format.txt

Creates a symbolic link named sym.txt of fmt.txt - Answers-ln -s fmt.txt sym.txt

Touch - Answers-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. - Answers-touch -c file1.txt

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

Cat filename.txt - Answers-Displays the contents of a file

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

Will display the "sample" file's byte count - Answers-wc -c sample

Displays the number of characters in the "sample" file - Answers-wc -m sample

Display the number of lines in the "sample" file - Answers-wc -l sample

Display the word count of the "sample" file - Answers-wc -w sample

Extracts the first field of the "/etc/passwd" file - Answers-cut -f 1 /etc/passwd

Extract the first three characters from the "/etc/passwd" file - Answers-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. - Answers-cut -d ":" -f 3 /etc/shadow

Search for all the rows containing the string "/home" in the "/etc/passwd" file - Answers-
grep /home /etc/passwd

Display the number of lines containing the string "/bin" in the "/etc/passwd" file -
Answers-grep -c /bin /etc/passwd

Display the details of the root user from the /etc/shadow file - Answers-grep root
/etc/shadow

Search the /etc directory recursively for the string "wlan" - Answers-grep -r wlan /etc

Find all the files in the /etc directory having names that start with pass - Answers-find
/etc -name pass*

List the files in the /etc directory with extensions conf (limit the search to one level) -
Answers-find /etc -maxdepth 1 -name *.conf

Escuela, estudio y materia

Institución
LINUX ESSENTIALS
Grado
LINUX ESSENTIALS

Información del documento

Subido en
18 de octubre de 2024
Número de páginas
6
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$11.49
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

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.
Greaterheights Birkbeck, University of London
Ver perfil
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
1139
Miembro desde
3 año
Número de seguidores
881
Documentos
19284
Última venta
1 semana hace

4.1

219 reseñas

5
120
4
43
3
24
2
11
1
21

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