
Explorando find, grep y chmod

Quiz
•
Computers
•
11th Grade
•
Hard
ALEJANDRO MARTÍNEZ GONZALEZ
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué comando usarías para cambiar los permisos de un archivo llamado 'documento.txt' para que solo el propietario tenga acceso?
chmod 777 documento.txt
chmod 600 documento.txt
chmod 0 documento.txt
chmod u+a documento.txt
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Si quieres buscar un archivo llamado 'informe.pdf' en tu directorio actual y en subdirectorios, ¿qué comando utilizarías?
find . -name "informe.pdf"
search informe.pdf
locate informe.pdf
grep informe.pdf
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo puedes usar grep para encontrar la palabra 'error' en un archivo de registro llamado 'log.txt'?
grep log.txt "error"
grep "error" log.txt
grep -r "error" log.txt
grep "log.txt" error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Si deseas quitar privilegio de escritura al grupo en un archivo llamado 'script.sh', ¿qué comando usarías?
chmod g-w script.sh
chmod 744 script.sh
chmod g+w script.sh
chmod g=w script.sh
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué comando usarías para buscar todos los archivos con la extensión '.jpg' en el directorio ~/imágenes?
find ~/imágenes *.jpg
find ~/imágenes -name "*.jpg"
find ~/imágenes -type "*.jpg"
find ~/imágenes "*.jpg" -type f
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Si quieres filtrar líneas que contienen la palabra 'exito' en un archivo llamado 'resultados.txt', ¿qué comando utilizarías?
grep "exito" resultados.txt
grep -v 'exito' resultados.txt
grep resultados.txt exito
grep [eé]xito resultados.txt
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cómo cambiarías los permisos de un archivo llamado 'config.json' para que todos los usuarios puedan leerlo, sin realizar otras acciones?
chmod 400 config.json
chmod 644 config.json
chmod 777 config.json
chmod 444 config.json
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Linux-2 Quiz 2 -- LAMP

Quiz
•
1st - 12th Grade
10 questions
Usuarios y Grupos en Linux

Quiz
•
11th Grade
20 questions
Soal Kelas XI TKJ (Debian)

Quiz
•
9th - 12th Grade
10 questions
CONTEST 10 EXCEL 2019

Quiz
•
6th - 12th Grade
14 questions
Quizz 02 - Config. básica equipamentos CISCO 02

Quiz
•
11th Grade
13 questions
Git y GitHub

Quiz
•
9th Grade - University
15 questions
SOM - Comandos LINUX

Quiz
•
9th Grade - University
20 questions
7. Linux_chmod_2

Quiz
•
11th Grade - University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade