Help shape GoConqr. What should we add next?

Quiz

Linux commands, vi, GRUB 2 and package management

Stefanny Kristine 73 questions

Take the quiz

This quiz has a time limit, so it opens in the usual player.

Questions in this quiz (73)

  1. 1A backup software heavily uses hard links between files which have not been changed in between two backup runs. Which benefits are realized due to these hard links ?
    1. AThe backup consumes less space because the hard links point to the same data on disk instead of storing redundant copies.
    2. BThe old backups can be moved to slow backup media, such as tapes, while still serving as hard link target in new backups
    3. CThe backup runs faster because hard links ar asynchronous operations, postponing the copy operation to a later point in time
    4. DThe backup is guaranteed to be uncharged because a hard linked file cannot be modified after its creation
    5. EThe backup runs faster because, instead of copying the data of each file, hard links only change file system meta data.
  2. 2What directory contains configuration files for addicional yum repositories? ( Specify the full path to the directory). [blank_start]/etc/yum.conf[blank_end]
    1. A/etc/yum.conf
  3. 3From a bash shell, which of the following commands directly execute the instructions from the file /usr/local/bim/runme.sh whitout starting a subshell? ( choose two).
    1. A/bin/bash /usr/local/bin/runme.sh
    2. B/usr/local/bin/runme.sh
    3. Csource /usr/local/bin/runme.sh
    4. Drun /usr/local/bin/runme.sh
    5. E./usr/local/bin/runme.sr
  4. 4Which of the following commands installs GRUB 2 into the master boot record on the third hard disk?
    1. Agrub-mbrinstall /dev/sdc
    2. Bgrub2 install /dev/sdc
    3. Cgrub-setup /dev/sdc
    4. Dgrub-install /dev/sdc
    5. Egrub-mkrescue /dev/sdc
  5. 5In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?
    1. Aby selecting all affected lines using the shit and cursor keys before applying the command
    2. BBy specifying the number right in front of a command such as 41 or 2yj.
    3. CBy specifying the number after a command such as 14 or y j2 followed by escape.
    4. DBy issuing a command such as :set repetion-4 with repeats every subsequent command 4 times.
    5. Eby using the command :repeat followed by the number and the command
  6. 6Which of the following vi commands deletes two lines, the current and the following line?
    1. Ad2
    2. Bde12
    3. Cdd2
    4. D2d
    5. E2dd
  7. 7Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
    1. Asplit -c 1,4 /etc/passwd
    2. Bpaste -f 1,4 /etc/passwd
    3. Csort -t : -k 1,4 /etc/passwd
    4. Dcut -d: -f 1,4 /etc/passwd
    5. Efmt - f 1,4 /etc/passwd
  8. 8Which of the following regular expressions represents a single upper-case letter?
    1. A{AZ}
    2. B%C
    3. C[A-Z]
    4. D!a-z
    5. E:UPPER:
  9. 9Which of the following commands lists all currently installed packages when using RPM package management?
    1. Arpm --query --all
    2. Byum --query --all
    3. Crpm --query --list
    4. Dyum --list --installed
    5. Ermp --list --installed
  10. 10What is the purpose of the ldd command?
    1. AIt turns a dynamically linked binary into a static binary.
    2. BIt runs a binary with an alternate library search path.
    3. CIt installs and updates installed share libraries.
    4. DIt defines which version of a library should be used by default.
    5. EIt lists which shared libraries a binary needs to run.

Information

Description
Quiz on Untitled, created by Stefanny Kristine on 20/01/2020.
Language
Português
Views
5
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What should we add next?