Related Topics
Take Another Quiz

Unix Quiz

10 Questions
Unix Quizzes & Trivia
Questions and Answers
  • 1. 
    What does the command ls do?   
    • A. 

      Opening a file

    • B. 

      Display of the contents of a file

    • C. 

      Display of files and folders, present in the folder where you are

    • D. 

      Shows a calendar

  • 2. 
    How can you display a list of all files, including the hidden files?
    • A. 

      Find all

    • B. 

      Ls –a

    • C. 

      ls –b

    • D. 

      All the answer, a,b and c

  • 3. 
    What is the correct command to list files and folders in UNIX?
    • A. 

      List

    • B. 

      Ls

    • C. 

      Dir

    • D. 

      Listfiles

  • 4. 
    What command do you have to use to go to the parent directory?
    • A. 

      cd -

    • B. 

      cd ~

    • C. 

      Cd /up

    • D. 

      Cd ..

  • 5. 
    What command makes an empty directory?
    • A. 

      Mkdirectory

    • B. 

      Makedirectory

    • C. 

      mkdir

    • D. 

      Newdir

  • 6. 
    What does cd .. do?
    • A. 

      Not a valid UNIX command

    • B. 

      Logs out of the computer

    • C. 

      Changes the working directory to the login directory

    • D. 

      Changes the working directory to the parent of the current working directory

  • 7. 
    Why is man command used?
    • A. 

      To Shutdown A System

    • B. 

      Search All Files

    • C. 

      Deleting Files

    • D. 

      Getting Help Command on Format

  • 8. 
    Why is PWD Command Used?
    • A. 

      Show current user

    • B. 

      Show present working directory

    • C. 

      To display error massages

    • D. 

      To copy files

  • 9. 
    The command used to display a specified file is:
    • A. 

      Mkdir

    • B. 

      Chmod

    • C. 

      Cat

    • D. 

      Compress

  • 10. 
    ‘root’ in Unix operating system is represented by:
    • A. 

      %

    • B. 

      \

    • C. 

      $

    • D. 

      /

Related Topics