Unix Basic Commands, Editors

4 Questions | Total Attempts: 2226

SettingsSettingsSettings
Please wait...
Unix Quizzes & Trivia

This quiz will guide you to know where you stand in terms of basic unix commands usage.


Questions and Answers
  • 1. 
    Which command is used to display all the files?
    • A. 

      Ls

    • B. 

      Cat

    • C. 

      Ls -a

    • D. 

      Type

    • E. 

      Dir

  • 2. 
    Vim editor uses which hidden file for configuration settings
    • A. 

      .bashrc

    • B. 

      .exrc

    • C. 

      .etcrc

    • D. 

      .vimrc

    • E. 

      .usrc

  • 3. 
    How do we configure the vim editor to automatically add numbers to the file when it opens?
    • A. 

      Se nu

    • B. 

      Se bs

    • C. 

      Se history

    • D. 

      Se noai

    • E. 

      Se nonu

  • 4. 
    Which command is used to view the file without modifying it ?
    • A. 

      View

    • B. 

      Cat

    • C. 

      More

    • D. 

      Head

    • E. 

      Tail