Linux Command Line Quiz Questions And Answers

10 Questions | Total Attempts: 22377

SettingsSettingsSettings
Linux Command Line Quiz Questions And Answers - Quiz

Get ready for this Linux command line quiz that will not only test your Linux command knowledge but will also enhance it. Linux is a family of open-source operating systems. Many of the programmers and ethical hackers use Linux as they understand the value of this operating system. Linux has a lot of commands. Take this quiz, and we will get to see how many of them you know. Let us go!


Questions and Answers
  • 1. 
    What command clears the contents of your terminal display?
    • A. 

      Clear

    • B. 

      Catch

    • C. 

      Delete

    • D. 

      Remove

  • 2. 
    What is the command to delete a file?
    • A. 

      Rm

    • B. 

      Rk

    • C. 

      Rc

    • D. 

      Dl

  • 3. 
    What command is used to change directories?
    • A. 

      Dc

    • B. 

      Cdc

    • C. 

      Cd

    • D. 

      None of these

  • 4. 
    What command is used to get the IP address of all interfaces on a server?
    • A. 

      Ipp

    • B. 

      Ip2

    • C. 

      Ippp

    • D. 

      None of these

  • 5. 
    What command is used to change ownership of a file?
    • A. 

      Chawn

    • B. 

      Chown

    • C. 

      Chan

    • D. 

      Cd chown

  • 6. 
    What command is used to copy a file?
    • A. 

      Px

    • B. 

      Xp

    • C. 

      Cp

    • D. 

      None of these

  • 7. 
    What command shows you how long it has been since the server was rebooted?
    • A. 

      Cd chown

    • B. 

      Downtime

    • C. 

      Uptime

    • D. 

      Ipp

  • 8. 
    What command shows you what directory you are in?
    • A. 

      Ppx

    • B. 

      Px

    • C. 

      Wpd

    • D. 

      Pwd

  • 9. 
    What command creates an empty directory?
    • A. 

      Mkdir

    • B. 

      Ipp

    • C. 

      Cd chown

    • D. 

      None of these

  • 10. 
    Which command(s) show users that are logged in?
    • A. 

      Px

    • B. 

      Who

    • C. 

      Remove

    • D. 

      Catch

×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.