David Harton
Quiz por , criado more than 1 year ago

Quiz sobre Linux Essentials Chapter 6 Exam, criado por David Harton em 08-06-2018.

415
0
0
Sem etiquetas
David Harton
Criado por David Harton aproximadamente 6 anos atrás
Fechar

Linux Essentials Chapter 6 Exam

Questão 1 de 25

1

Hidden files are files that begin with what character?

Selecione uma ou mais das seguintes:

  • A dash (-)

  • A plus (+)

  • A period (.)

  • An asterisk (*)

Explicação

Questão 2 de 25

1

What option for the ls command will display all files, including hidden files?

Selecione uma ou mais das seguintes:

  • -L

  • -H

  • -w

  • -a

Explicação

Questão 3 de 25

1

The top-level directory on a Linux system is represented as:

Selecione uma ou mais das seguintes:

  • /

  • C:

  • /home

  • /root

Explicação

Questão 4 de 25

1

Is the following path absolute or relative?
/etc/ppp

Selecione uma ou mais das seguintes:

  • Absolute

  • Relative

Explicação

Questão 5 de 25

1

Is the following path absolute or relative?
sysadmin/Documents

Selecione uma ou mais das seguintes:

  • Relative

  • Absolute

Explicação

Questão 6 de 25

1

Is the following path absolute or relative?
../../home/sysadmin

Selecione uma ou mais das seguintes:

  • Relative

  • Absolute

Explicação

Questão 7 de 25

1

The tilde (~) is used to represent:

Selecione uma ou mais das seguintes:

  • A user’s home directory

  • Any two single characters

  • The directory above the current working directory

  • Nothing; it has no special meaning

Explicação

Questão 8 de 25

1

Which of the following commands can be used to access the home directory of the user “bob” while logged in as root?
(choose two)

Selecione uma ou mais das seguintes:

  • cd /home/bob

  • cd ~bob

  • cd &&

  • ~bob

Explicação

Questão 9 de 25

1

The double dot (..) can be used with the cd command to represent:

Selecione uma ou mais das seguintes:

  • The directory above the current working directory

  • Nothing; it has no special meaning.

  • Any two single characters

  • A user’s home directory.

Explicação

Questão 10 de 25

1

The cd command by itself will take you to what directory?

Selecione uma ou mais das seguintes:

  • The system root directory

  • None; it is not a valid command

  • The directory above the current working directory

  • Your home directory

Explicação

Questão 11 de 25

1

What command will allow you to change your current working directory?

Selecione uma ou mais das seguintes:

  • chdir

  • list

  • cd

  • ls

Explicação

Questão 12 de 25

1

The double dot (..) can be used to represent the directory…

Selecione uma ou mais das seguintes:

  • …above the current directory.

  • …below the current directory.

  • …with any two single numbers.

  • …above the current directory only when using the cd command.

Explicação

Questão 13 de 25

1

The ls command without options or arguments…

Selecione uma ou mais das seguintes:

  • …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.

Explicação

Questão 14 de 25

1

The first character in a long listing (ls -l) indicates:

Selecione uma ou mais das seguintes:

  • The permissions

  • If something is a file, directory, or symbolic link

  • The owner

  • The size

Explicação

Questão 15 de 25

1

Which option for the ls command, when used in conjunction with the -l option, will display human-readable sizes?

Selecione uma ou mais das seguintes:

  • -M

  • -S

  • -H

  • -h

Explicação

Questão 16 de 25

1

Which of the following commands will prevent any aliased options to the ls command?

Selecione uma ou mais das seguintes:

  • /ls

  • %ls

  • ls

Explicação

Questão 17 de 25

1

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

Selecione uma ou mais das seguintes:

  • True

  • False

Explicação

Questão 18 de 25

1

The command ls -S will sort files:

Selecione uma ou mais das seguintes:

  • By size, smallest to largest

  • By number of symlinks, largest to smallest

  • By modification date, newest to oldest

  • By size, largest to smallest

Explicação

Questão 19 de 25

1

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

Selecione uma ou mais das seguintes:

  • True

  • False

Explicação

Questão 20 de 25

1

Which option(s) can be used to prevent cp from overwriting an existing file?
(choose two)

Selecione uma ou mais das seguintes:

  • -n

  • -N

  • -z

  • -i

Explicação

Questão 21 de 25

1

The command rm -r will…

Selecione uma ou mais das seguintes:

  • 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.

Explicação

Questão 22 de 25

1

Which option can be used with the rm command to prompt before deleting?

Selecione uma ou mais das seguintes:

  • -i

  • I

  • -P

  • A

Explicação

Questão 23 de 25

1

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

Selecione uma ou mais das seguintes:

  • True

  • False

Explicação

Questão 24 de 25

1

Which of the following commands can be used to rename a file?

Selecione uma ou mais das seguintes:

  • name

  • mv

  • rn

  • cp

Explicação

Questão 25 de 25

1

The touch command can be used to:
(choose two)

Selecione uma ou mais das seguintes:

  • Create new files

  • Change a file’s name

  • Update the time stamp of existing files

  • Change ownership of a file

Explicação