Linux Essentials Chapter 6 Exam

Descripción

Test sobre Linux Essentials Chapter 6 Exam, creado por David Harton el 08/06/2018.
David Harton
Test por David Harton, actualizado hace más de 1 año
David Harton
Creado por David Harton hace alrededor de 6 años
415
0

Resumen del Recurso

Pregunta 1

Pregunta
Hidden files are files that begin with what character?
Respuesta
  • A dash (-)
  • A plus (+)
  • A period (.)
  • An asterisk (*)

Pregunta 2

Pregunta
What option for the ls command will display all files, including hidden files?
Respuesta
  • -L
  • -H
  • -w
  • -a

Pregunta 3

Pregunta
The top-level directory on a Linux system is represented as:
Respuesta
  • /
  • C:
  • /home
  • /root

Pregunta 4

Pregunta
Is the following path absolute or relative? /etc/ppp
Respuesta
  • Absolute
  • Relative

Pregunta 5

Pregunta
Is the following path absolute or relative? sysadmin/Documents
Respuesta
  • Relative
  • Absolute

Pregunta 6

Pregunta
Is the following path absolute or relative? ../../home/sysadmin
Respuesta
  • Relative
  • Absolute

Pregunta 7

Pregunta
The tilde (~) is used to represent:
Respuesta
  • A user’s home directory
  • Any two single characters
  • The directory above the current working directory
  • Nothing; it has no special meaning

Pregunta 8

Pregunta
Which of the following commands can be used to access the home directory of the user “bob” while logged in as root? (choose two)
Respuesta
  • cd /home/bob
  • cd ~bob
  • cd &&
  • ~bob

Pregunta 9

Pregunta
The double dot (..) can be used with the cd command to represent:
Respuesta
  • The directory above the current working directory
  • Nothing; it has no special meaning.
  • Any two single characters
  • A user’s home directory.

Pregunta 10

Pregunta
The cd command by itself will take you to what directory?
Respuesta
  • The system root directory
  • None; it is not a valid command
  • The directory above the current working directory
  • Your home directory

Pregunta 11

Pregunta
What command will allow you to change your current working directory?
Respuesta
  • chdir
  • list
  • cd
  • ls

Pregunta 12

Pregunta
The double dot (..) can be used to represent the directory…
Respuesta
  • …above the current directory.
  • …below the current directory.
  • …with any two single numbers.
  • …above the current directory only when using the cd command.

Pregunta 13

Pregunta
The ls command without options or arguments…
Respuesta
  • …generates an error as this command requires arguments.
  • …lists the contents of the current directory.
  • …prompts for a directory to list.
  • …lists the contents of a user’s home directory.

Pregunta 14

Pregunta
The first character in a long listing (ls -l) indicates:
Respuesta
  • The permissions
  • If something is a file, directory, or symbolic link
  • The owner
  • The size

Pregunta 15

Pregunta
Which option for the ls command, when used in conjunction with the -l option, will display human-readable sizes?
Respuesta
  • -M
  • -S
  • -H
  • -h

Pregunta 16

Pregunta
Which of the following commands will prevent any aliased options to the ls command?
Respuesta
  • /ls
  • %ls
  • ls

Pregunta 17

Pregunta
The ls command color codes results by default. True or False?
Respuesta
  • True
  • False

Pregunta 18

Pregunta
The command ls -S will sort files:
Respuesta
  • By size, smallest to largest
  • By number of symlinks, largest to smallest
  • By modification date, newest to oldest
  • By size, largest to smallest

Pregunta 19

Pregunta
When using the cp command, you must provide both a source and a destination. True or False?
Respuesta
  • True
  • False

Pregunta 20

Pregunta
Which option(s) can be used to prevent cp from overwriting an existing file? (choose two)
Respuesta
  • -n
  • -N
  • -z
  • -i

Pregunta 21

Pregunta
The command rm -r will…
Respuesta
  • remove a directory along with any files or subdirectories.
  • prompt for each confirmation before deleting each file in a directory.
  • remove only empty directories.
  • generate an error; -r isn’t a valid option.

Pregunta 22

Pregunta
Which option can be used with the rm command to prompt before deleting?
Respuesta
  • -i
  • I
  • -P
  • A

Pregunta 23

Pregunta
The rm command can delete multiple files at once. True or False?
Respuesta
  • True
  • False

Pregunta 24

Pregunta
Which of the following commands can be used to rename a file?
Respuesta
  • name
  • mv
  • rn
  • cp

Pregunta 25

Pregunta
The touch command can be used to: (choose two)
Respuesta
  • Create new files
  • Change a file’s name
  • Update the time stamp of existing files
  • Change ownership of a file
Mostrar resumen completo Ocultar resumen completo

Similar

Evaluación
lapequeabibi436199
Las Matemáticas
María Salinas
Fichas de Inglés - Vocabulario Intermedio 2
maya velasquez
Vocabulario Inglés - Tema 2
maya velasquez
Inglés Exani II - Verbos Irregulares
Gastón Amato
Cualidades del sonido
Olga Veiga
Plantilla para clasificar los hallazgos en la viñeta clínica.
luis.pd.18
LITERATOS...
JL Cadenas
ESTRUCTURAS REPETITIVAS O CICLICAS EN PROGRAMACION
Karla Moreno
Anatomía Animal (Sistema Óseo)
Ana Favela