ITN 170: Linux System Administration - Ch. 2

  1. If you boot your computer from Linux live media, you will be able to use a fully functional Linux system prior to installing Linux on permanent storage.
    False

    [Linux live media contain a memory-resident Linux operating system that can be used to test software and hardware.]
  2. What is the default shell on most Linux systems called?




    D. BASH

    [The Bourne Again Shell (BASH) is the default shell used on most Linux systems.]
  3. After you log in to a terminal, you receive a user interface called a _____.




    B. shell

    [The user interface on a Linux terminal is called a shell.]
  4. Which three partitions are typically created at minimum during a Fedora Workstation Linux installation on a system with a UEFI BIOS? (Choose three answers.)

    a. /
    b. /boot
    c. swap
    d. /boot/efi
    • a. /
    • b. /boot
    • d. /boot/efi

    [A root (/) partition and /boot partition are mandatory on all Linux systems, while swap partitions are rarely created on modern Linux systems. On a system with a UEFI BIOS, a /boot/efi partition is also created to hold boot files.]
  5. When sitting at a computer running Linux, what key combination do you press to switch to a graphical login screen?




    D. Ctrl+Alt+F1

    [The graphical login screen runs on tty1 by default. You can use Ctrl+Alt+F1 to switch to tty1.]
  6. Which command blanks the terminal screen, erasing previously displayed output?




    C.  clear

    [The clear command clears command output from the terminal screen.]
  7. Which of the following is not an example of virtualization software that can be used to install Linux within another operating system?




    B. Spiceworks

    [Spiceworks is an IT inventory and ticketing software system and not a hypervisor product. Oracle VirtualBox, Microsoft Hyper-V, and UTM are common hypervisors.]
  8. To install Linux within a virtual machine, you can specify the path to an ISO image that contains the Linux installation media within virtualization software without having to first write the ISO image to a DVD or USB flash drive.
    True

    [Virtual machines contain a virtual DVD device that can be attached directly to a DVD ISO image for use when installing operating systems in the virtual machine itself.]
  9. You know a Linux command will perform a desired function for you, but you cannot remember the full name of the command. You do remember it will flush a variable from your system. Which command typed at a command prompt displays a list of commands that would likely contain the command you desire?




    A.  man –k flush

    [To search the manual pages by keyword, you can supply the keyword as an argument to the man -k or apropos command.]
  10. What command is equivalent to the man –k keyword command?




    B.  apropos keyword

    [The apropos command is equivalent to the man -k command.]
  11. How can you protect a metacharacter (such as the $ character) from shell interpretation?




    C. Precede it with a \.

    [You can protect the next character from shell interpretation by preceding it with a backslash (\).]
  12. What equivalent to the man command generally provides an easier-to-read description of the queried command and contains links to other related information?




    A.  info

    [The info command is an alternative to the man command and provides usage information in descriptive hypertext format.]
  13. Linux commands entered via the command line are not case sensitive.
    False

    [All Linux commands entered within a shell are case sensitive.]
  14. Which prompt do regular users receive when logged in to the system?




    B. $

    [Regular users received a $ prompt within a BASH shell.]
  15. Users enter commands directly to the kernel of the Linux operating system.
    False

    [A shell interprets user commands and runs them on the underlying Linux kernel.]
  16. Which of the following is not a piece of information that the Fedora installation program prompts you for?




    D. firewall settings

    [The Fedora installation program prompts you to select an installation destination (storage), language, time, and time zone settings but does not prompt you to select firewall settings.]
  17. What command can you use to safely shut down the Linux system immediately?




    C.  halt

    [The halt and poweroff commands can be used to shut down a Linux system immediately.]
  18. Which command displays the users who are currently logged in to the Linux system?




    A.  who

    [The who command displays logged in users on the system.]
  19. Which of the following refers to the third primary partition on the second SAS hard disk drive within Linux?




    D. sdb3

    [The second SAS hard disk drive is sdb (sda would be the first SAS hard disk drive). The third partition on sdb is sdb3.]
  20. Which prompt does the root user receive when logged in to the system?




    C. #

    [The root user receives a # prompt within a BASH shell.]
Author
S.H.
ID
363694
Card Set
ITN 170: Linux System Administration - Ch. 2
Description
Updated