Linux Commands Assessment Test

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 Cripstwick
C
Cripstwick
Community Contributor
Quizzes Created: 636 | Total Attempts: 828,847
| Attempts: 278
SettingsSettings
Please wait...
  • 1/10 Questions

    Which of these commands lets you create directories? 

    • Mkdir
    • Mkfifo
    • More
    • Mv
Please wait...
About This Quiz

Linux is one of the most wisely used operating systems today. Take this intelligent assessment test to evaluate your knowledge of Linux commands.

Linux Commands Assessment Test - Quiz

Quiz Preview

  • 2. 

    Which of these commands is used to create a file? 

    • Help

    • Touch

    • Man

    • Cp

    Correct Answer
    A. Touch
    Explanation
    The touch command is used to create a file in a Unix-like operating system. It updates the access and modification times of an existing file or creates a new file if it doesn't exist. Therefore, touch is the correct command to create a file.

    Rate this question:

  • 3. 

    Which of these commands is used to know what files are there in the directory you are in? 

    • Is

    • Cd

    • Rm

    • Cp

    Correct Answer
    A. Is
    Explanation
    The "Is" command is used to know what files are there in the directory you are in. It lists all the files and directories present in the current directory.

    Rate this question:

  • 4. 

    Which of these commands means to switch to another user account? 

    • Ssh

    • Su

    • Sa

    • Sua

    Correct Answer
    A. Su
    Explanation
    The command "su" is used to switch to another user account in a Unix-like operating system. It allows a user to temporarily become another user, typically with elevated privileges. This command is often used by system administrators to perform tasks that require administrative access.

    Rate this question:

  • 5. 

    Which of these commands prints numbers from FIRST to LAST, in steps of INCREMENT? 

    • Seq

    • Sed

    • Scp

    • Sdiff

    Correct Answer
    A. Seq
    Explanation
    The correct answer is "Seq". Seq is a command in Unix-like operating systems that generates a sequence of numbers. By specifying the starting number (FIRST), the ending number (LAST), and the increment value (INCREMENT), the command will print the numbers in that range with the specified increment.

    Rate this question:

  • 6. 

    Which of these commands is used to perform byte-by-byte comparison of two files? 

    • Comm

    • Cmp

    • Cp

    • Csplit

    Correct Answer
    A. Cmp
    Explanation
    The command "Cmp" is used to perform byte-by-byte comparison of two files. It compares the contents of two files and displays the first mismatched byte and its corresponding line number. This command is commonly used to check if two files are identical or to find the differences between them.

    Rate this question:

  • 7. 

    Which of these commands displays in output system's CPU architecture information? 

    • Lscpu

    • Lsof

    • Lshw

    • Ls

    Correct Answer
    A. Lscpu
    Explanation
    Lscpu is the correct answer because it is a command that displays detailed information about the CPU architecture of the system. It provides information such as the number of processors, cores per processor, threads per core, CPU family, model, and more. This command is commonly used in Linux systems to gather CPU-related information for troubleshooting, monitoring, or system analysis purposes.

    Rate this question:

  • 8. 

    Which of these commands displays the amount of disk space available on the file system containing each file name argument? 

    • Df

    • Date

    • Ds

    • Dfs

    Correct Answer
    A. Df
    Explanation
    The command "df" displays the amount of disk space available on the file system containing each file name argument.

    Rate this question:

  • 9. 

    Which of these commands means to display used and available disk space? 

    • Du

    • Df

    • Date

    • Dg

    Correct Answer
    A. Df
    Explanation
    The command "df" is used to display used and available disk space.

    Rate this question:

  • 10. 

    Which of these commands basically lets you locate a command? 

    • Wget

    • Who

    • Whatis

    • Which

    Correct Answer
    A. Which
    Explanation
    The "Which" command is used to locate a command in the system. It helps in finding the exact location of a command by displaying the path to the executable file. This command is particularly useful when there are multiple versions or installations of a command on the system, allowing the user to specify which version they want to use.

    Rate this question:

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
  • Dec 10, 2017
    Quiz Created by
    Cripstwick

Related Topics

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.