Linux Essentials Chapter 6 Exam

Descrição

Quiz sobre Linux Essentials Chapter 6 Exam, criado por David Harton em 08-06-2018.
David Harton
Quiz por David Harton, atualizado more than 1 year ago
David Harton
Criado por David Harton mais de 6 anos atrás
457
0

Resumo de Recurso

Questão 1

Questão
Hidden files are files that begin with what character?
Responda
  • A dash (-)
  • A plus (+)
  • A period (.)
  • An asterisk (*)

Questão 2

Questão
What option for the ls command will display all files, including hidden files?
Responda
  • -L
  • -H
  • -w
  • -a

Questão 3

Questão
The top-level directory on a Linux system is represented as:
Responda
  • /
  • C:
  • /home
  • /root

Questão 4

Questão
Is the following path absolute or relative? /etc/ppp
Responda
  • Absolute
  • Relative

Questão 5

Questão
Is the following path absolute or relative? sysadmin/Documents
Responda
  • Relative
  • Absolute

Questão 6

Questão
Is the following path absolute or relative? ../../home/sysadmin
Responda
  • Relative
  • Absolute

Questão 7

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

Questão 8

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

Questão 9

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

Questão 10

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

Questão 11

Questão
What command will allow you to change your current working directory?
Responda
  • chdir
  • list
  • cd
  • ls

Questão 12

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

Questão 13

Questão
The ls command without options or arguments…
Responda
  • …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.

Questão 14

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

Questão 15

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

Questão 16

Questão
Which of the following commands will prevent any aliased options to the ls command?
Responda
  • /ls
  • %ls
  • ls

Questão 17

Questão
The ls command color codes results by default. True or False?
Responda
  • True
  • False

Questão 18

Questão
The command ls -S will sort files:
Responda
  • By size, smallest to largest
  • By number of symlinks, largest to smallest
  • By modification date, newest to oldest
  • By size, largest to smallest

Questão 19

Questão
When using the cp command, you must provide both a source and a destination. True or False?
Responda
  • True
  • False

Questão 20

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

Questão 21

Questão
The command rm -r will…
Responda
  • 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.

Questão 22

Questão
Which option can be used with the rm command to prompt before deleting?
Responda
  • -i
  • I
  • -P
  • A

Questão 23

Questão
The rm command can delete multiple files at once. True or False?
Responda
  • True
  • False

Questão 24

Questão
Which of the following commands can be used to rename a file?
Responda
  • name
  • mv
  • rn
  • cp

Questão 25

Questão
The touch command can be used to: (choose two)
Responda
  • Create new files
  • Change a file’s name
  • Update the time stamp of existing files
  • Change ownership of a file

Semelhante

Quiz de Geografia
Alessandra S.
ORTOGRAFIA
Viviana Veloso
Direito Constitucional - Brutal - Tribunais
Rômulo Campos
FILOSOFIA DA EDUCAÇÃO
vanessasenez
Doenças Cardiovasculares
marianamota99
Princípios da Administração pública
Jay Benedicto
História da informática
Renato Costa
ORTOGRAFIA - emprego das letras
GoConqr suporte .
Orações Subordinadas e Coordenadas
Letícia Ferreira
Direitos Humanos Gerações
leandrosilveirap
Sistema Endócrino
Gabriel Paes