Basic Linux Concepts And Commands

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Mburchard
M
Mburchard
Community Contributor
Quizzes Created: 2 | Total Attempts: 792
Questions: 10 | Attempts: 261

SettingsSettingsSettings
Basic Linux Concepts And Commands - Quiz

These questions are all based on commands from the DSR 4. X Installation Guide.
All answers are multiple-choice, one answer per question.
This test is anonymous and scoring is only used for the purpose of identifying areas to target in Team training.


Questions and Answers
  • 1. 

    Is Linux the same as UNIX?

    • A.

      Yes

    • B.

      No

    • C.

      Yes, Linux is an Open Source fork of UNIX

    • D.

      No, Linux is UNIX-like, but it was created by a college student from Finland.

    Correct Answer
    D. No, Linux is UNIX-like, but it was created by a college student from Finland.
    Explanation
    Linux is not the same as UNIX. Although Linux is UNIX-like in terms of its design and functionality, it was not derived from the original UNIX operating system. Instead, it was created by Linus Torvalds, a college student from Finland, as an open-source alternative to UNIX. While Linux shares many similarities with UNIX, they are distinct operating systems with different origins.

    Rate this question:

  • 2. 

    What is a "Linux distribution" or distro

    • A.

      An event where hackers volunteer to hand out Linux-related promotional items.

    • B.

      The part of a Linux installation where the files are actually written to the disk.

    • C.

      How logical volumes are arrayed across physical volumes when using Logical Volume Management (LVM).

    • D.

      A particular assortment of applications installed on top of a set of libraries married with a version of the Linux kernel.

    Correct Answer
    D. A particular assortment of applications installed on top of a set of libraries married with a version of the Linux kernel.
    Explanation
    A "Linux distribution" or distro refers to a particular assortment of applications that are installed on top of a set of libraries, which are combined with a specific version of the Linux kernel. This combination forms a complete operating system that is ready to be used by users. Different Linux distributions may have different pre-installed applications, configurations, and package management systems, catering to different user needs and preferences.

    Rate this question:

  • 3. 

    Under which Distribution and version of Linux does the DSR 4.x software run?

    • A.

      CentOS 6.3 64-bit

    • B.

      CoinOP 6.3 2-bits

    • C.

      Linux 2.6 SMP x86_64

    • D.

      Windows Vista Ultimate for Enterprise Black Diamond Edition

    Correct Answer
    A. CentOS 6.3 64-bit
    Explanation
    The DSR 4.x software runs under the CentOS 6.3 64-bit distribution of Linux.

    Rate this question:

  • 4. 

    Which command will show all the information about the currently running version of the Linux kernel?

    • A.

      Motd

    • B.

      Uname -a

    • C.

      Id

    • D.

      Netstat -an

    Correct Answer
    B. Uname -a
    Explanation
    The correct answer is "uname -a" because the "uname" command is used to display system information, and the "-a" option shows all available information about the kernel. This includes the kernel name, version, release, machine architecture, and other details. By running "uname -a" in the Linux terminal, you can obtain comprehensive information about the currently running version of the Linux kernel.

    Rate this question:

  • 5. 

    Which command will list the contents of a directory, listed by file modification time, in reverse order (last modified file shows up at the bottom of a listing)?

    • A.

      Ls

    • B.

      Ls -al

    • C.

      Ll

    • D.

      Ls -lart

    Correct Answer
    D. Ls -lart
    Explanation
    The command "ls -lart" will list the contents of a directory, listed by file modification time, in reverse order. The "-l" option will display the files in a long format, including the modification time, and the "-t" option will sort the files by modification time, with the most recently modified files appearing first. The "-r" option will reverse the order of the listing, so that the last modified file shows up at the bottom.

    Rate this question:

  • 6. 

    Which command will list the mounted filesystems, with disk usage output in human-readable form (in MB, GB, etc.)?

    • A.

      Df -ok

    • B.

      Df -k

    • C.

      Df -kh

    • D.

      Df --human-readable

    Correct Answer
    C. Df -kh
    Explanation
    The command "df -kh" will list the mounted filesystems with disk usage output in human-readable form. The "-k" option displays the sizes in kilobytes, and the "-h" option makes the sizes more readable by using units such as MB and GB.

    Rate this question:

  • 7. 

    You try to ping a host on a different network and get a "Destination Network Unreachable"

    • A.

      The internet is down.

    • B.

      There is a firewall on the remote host blocking inbound ICMP requests.

    • C.

      The network you are on has no route to the network you are trying to access.

    • D.

      Sunspots

    Correct Answer
    C. The network you are on has no route to the network you are trying to access.
    Explanation
    The correct answer is that the network you are on has no route to the network you are trying to access. This means that the network you are currently connected to does not have a path or routing information to reach the network you are attempting to ping. As a result, the destination network is unreachable from your current network.

    Rate this question:

  • 8. 

    You are trying to umount (unmount) a directory, but keep receiving the error "Device or resource busy".  Why might this be?

    • A.

      Your computer hates you.

    • B.

      Solar Flares

    • C.

      You are on a Windows machine and connected to the server with PuTTY.

    • D.

      Your current working directory is within the location that you are trying to umount.

    Correct Answer
    D. Your current working directory is within the location that you are trying to umount.
    Explanation
    When trying to unmount a directory, the "Device or resource busy" error typically occurs when a process or application is still accessing files within that directory. If the current working directory is within the location being unmounted, it means that the shell or terminal is still using files within that directory, causing the error. To resolve this, change the current working directory to a different location before attempting to unmount the directory.

    Rate this question:

  • 9. 

    For scp, what does the "-r" option do? 

    • A.

      Removes the remote file if it exists.

    • B.

      Recursively copy entire directories.

    • C.

      Randomly selects in which order multiple files will be copied.

    • D.

      On a Honda, indicates that it was ordered with the "Racing" package.

    Correct Answer
    B. Recursively copy entire directories.
    Explanation
    The "-r" option in scp stands for "recursive" and it allows the user to copy entire directories and their contents. This means that not only individual files will be copied, but also any subdirectories and their files within the specified directory. This option is useful when you need to transfer multiple files and maintain their directory structure on the destination system.

    Rate this question:

  • 10. 

    What does the "lsof" command do?

    • A.

      Displays a list of open files.

    • B.

      Displays a list of obsolete functions.

    • C.

      Displays a list of obvious failures.

    • D.

      Displays a list of Friday...have a great weekend!

    Correct Answer
    A. Displays a list of open files.
    Explanation
    The "lsof" command is used to display a list of open files. It provides information about files that are currently being accessed by processes on the system. This can be useful for troubleshooting purposes, as it allows users to identify which processes have certain files open. By displaying a list of open files, the "lsof" command helps users understand the current state of file access on their system.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • May 01, 2013
    Quiz Created by
    Mburchard
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.