David Harton
Quiz von , erstellt am more than 1 year ago

Quiz am Linux Essentials Chapter 6 Exam, erstellt von David Harton am 08/06/2018.

415
0
0
Keine Merkmale angegeben
David Harton
Erstellt von David Harton vor etwa 6 Jahre
Schließen

Linux Essentials Chapter 6 Exam

Frage 1 von 25

1

Hidden files are files that begin with what character?

Wähle eine oder mehr der folgenden:

  • A dash (-)

  • A plus (+)

  • A period (.)

  • An asterisk (*)

Erklärung

Frage 2 von 25

1

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

Wähle eine oder mehr der folgenden:

  • -L

  • -H

  • -w

  • -a

Erklärung

Frage 3 von 25

1

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

Wähle eine oder mehr der folgenden:

  • /

  • C:

  • /home

  • /root

Erklärung

Frage 4 von 25

1

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

Wähle eine oder mehr der folgenden:

  • Absolute

  • Relative

Erklärung

Frage 5 von 25

1

Is the following path absolute or relative?
sysadmin/Documents

Wähle eine oder mehr der folgenden:

  • Relative

  • Absolute

Erklärung

Frage 6 von 25

1

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

Wähle eine oder mehr der folgenden:

  • Relative

  • Absolute

Erklärung

Frage 7 von 25

1

The tilde (~) is used to represent:

Wähle eine oder mehr der folgenden:

  • A user’s home directory

  • Any two single characters

  • The directory above the current working directory

  • Nothing; it has no special meaning

Erklärung

Frage 8 von 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)

Wähle eine oder mehr der folgenden:

  • cd /home/bob

  • cd ~bob

  • cd &&

  • ~bob

Erklärung

Frage 9 von 25

1

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

Wähle eine oder mehr der folgenden:

  • The directory above the current working directory

  • Nothing; it has no special meaning.

  • Any two single characters

  • A user’s home directory.

Erklärung

Frage 10 von 25

1

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

Wähle eine oder mehr der folgenden:

  • The system root directory

  • None; it is not a valid command

  • The directory above the current working directory

  • Your home directory

Erklärung

Frage 11 von 25

1

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

Wähle eine oder mehr der folgenden:

  • chdir

  • list

  • cd

  • ls

Erklärung

Frage 12 von 25

1

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

Wähle eine oder mehr der folgenden:

  • …above the current directory.

  • …below the current directory.

  • …with any two single numbers.

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

Erklärung

Frage 13 von 25

1

The ls command without options or arguments…

Wähle eine oder mehr der folgenden:

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

Erklärung

Frage 14 von 25

1

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

Wähle eine oder mehr der folgenden:

  • The permissions

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

  • The owner

  • The size

Erklärung

Frage 15 von 25

1

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

Wähle eine oder mehr der folgenden:

  • -M

  • -S

  • -H

  • -h

Erklärung

Frage 16 von 25

1

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

Wähle eine oder mehr der folgenden:

  • /ls

  • %ls

  • ls

Erklärung

Frage 17 von 25

1

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

Wähle eine oder mehr der folgenden:

  • True

  • False

Erklärung

Frage 18 von 25

1

The command ls -S will sort files:

Wähle eine oder mehr der folgenden:

  • By size, smallest to largest

  • By number of symlinks, largest to smallest

  • By modification date, newest to oldest

  • By size, largest to smallest

Erklärung

Frage 19 von 25

1

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

Wähle eine oder mehr der folgenden:

  • True

  • False

Erklärung

Frage 20 von 25

1

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

Wähle eine oder mehr der folgenden:

  • -n

  • -N

  • -z

  • -i

Erklärung

Frage 21 von 25

1

The command rm -r will…

Wähle eine oder mehr der folgenden:

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

Erklärung

Frage 22 von 25

1

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

Wähle eine oder mehr der folgenden:

  • -i

  • I

  • -P

  • A

Erklärung

Frage 23 von 25

1

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

Wähle eine oder mehr der folgenden:

  • True

  • False

Erklärung

Frage 24 von 25

1

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

Wähle eine oder mehr der folgenden:

  • name

  • mv

  • rn

  • cp

Erklärung

Frage 25 von 25

1

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

Wähle eine oder mehr der folgenden:

  • Create new files

  • Change a file’s name

  • Update the time stamp of existing files

  • Change ownership of a file

Erklärung