Basic Linux Commands

5 Questions

Settings
Please wait...
Basic Linux Commands

Test your knowledge of Linux commands or use the quiz as a learning tool. We include complete examples of these commands throughout this quiz.


Questions and Answers
  • 1. 
    • A. 

      Cp

    • B. 

      Cd

    • C. 

      Access

    • D. 

      Acs

    • E. 

      Cdr

  • 2. 
    What command is used to clear up the command prompt window?
    • A. 

      Clr

    • B. 

      Clrwin

    • C. 

      Cd

    • D. 

      Clear

    • E. 

      Clearit

  • 3. 
    How would you show a list of files and directories that are inside the current directory.
    • A. 

      List

    • B. 

      Listfiles

    • C. 

      Ls

    • D. 

      Lst

    • E. 

      Listout

  • 4. 
    What command shows the directory you are in?
    • A. 

      Pwd

    • B. 

      Dir

    • C. 

      Directory

    • D. 

      Showdir

    • E. 

      Dirpwd

  • 5. 
    What command allows you to logout of the system?
    • A. 

      Lgt

    • B. 

      Logout

    • C. 

      Logot

    • D. 

      Out

    • E. 

      Lout