Linux Essentials Chapter 6 Exam

Beschreibung

Quiz am Linux Essentials Chapter 6 Exam, erstellt von David Harton am 08/06/2018.
David Harton
Quiz von David Harton, aktualisiert more than 1 year ago
David Harton
Erstellt von David Harton vor etwa 6 Jahre
415
0

Zusammenfassung der Ressource

Frage 1

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

Frage 2

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

Frage 3

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

Frage 4

Frage
Is the following path absolute or relative? /etc/ppp
Antworten
  • Absolute
  • Relative

Frage 5

Frage
Is the following path absolute or relative? sysadmin/Documents
Antworten
  • Relative
  • Absolute

Frage 6

Frage
Is the following path absolute or relative? ../../home/sysadmin
Antworten
  • Relative
  • Absolute

Frage 7

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

Frage 8

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

Frage 9

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

Frage 10

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

Frage 11

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

Frage 12

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

Frage 13

Frage
The ls command without options or arguments…
Antworten
  • …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.

Frage 14

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

Frage 15

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

Frage 16

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

Frage 17

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

Frage 18

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

Frage 19

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

Frage 20

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

Frage 21

Frage
The command rm -r will…
Antworten
  • 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.

Frage 22

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

Frage 23

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

Frage 24

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

Frage 25

Frage
The touch command can be used to: (choose two)
Antworten
  • Create new files
  • Change a file’s name
  • Update the time stamp of existing files
  • Change ownership of a file
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Quiz Strategie und Entrepreneurship
benny.biering
Laborgeräte
Stefan Pw
Zellorganellen
Sarah K.
PuKW - STEP 1 (mögliche Prüfungsfragen/Prüfungsvorbereitung)
frau planlos
IKA-Theoriefragen Serie 01 (15 Fragen)
IKA ON ICT GmbH
Einführung in die BWL: Kapitel 1
Anjay
PuKW STEP 6 (mögliche Prüfungsfragen/Prüfungsvorbereitung)
frau planlos
LEK 1
Peter M
Vetie - Biochemie - Formelsammlung
Fioras Hu
Vetie Virologie 2014
J R
Vetie Chirurgie 2018 Zweitklausur
Johanna Müller