Basic Linux Concepts And Commands

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Mburchard
M
Mburchard
Community Contributor
Quizzes Created: 2 | Total Attempts: 883
| Attempts: 275 | Questions: 10
Please wait...
Question 1 / 10
0 %
0/100
Score 0/100
1. You are trying to umount (unmount) a directory, but keep receiving the error "Device or resource busy".  Why might this be?

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.

Submit
Please wait...
About This Quiz
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.

Personalize your quiz and earn a certificate with your name on it!
2. What does the "lsof" command do?

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.

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

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.

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

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.

Submit
5. What is a "Linux distribution" or distro

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.

Submit
6. 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)?

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.

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

Explanation

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

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

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.

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

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.

Submit
10. Is Linux the same as UNIX?

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.

Submit
View My Results

Quiz Review Timeline (Updated): Mar 21, 2023 +

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
Cancel
  • All
    All (10)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
You are trying to umount (unmount) a directory, but keep receiving the...
What does the "lsof" command do?
For scp, what does the "-r" option do? 
Which command will show all the information about the currently...
What is a "Linux distribution" or distro? 
Which command will list the contents of a directory, listed by file...
Under which Distribution and version of Linux does the DSR 4.x...
Which command will list the mounted filesystems, with disk usage...
You try to ping a host on a different network and get a...
Is Linux the same as UNIX?
Alert!

Advertisement